OSDN Git Service

rtmpdh: add an stdio.h include
authorAnton Khirnov <anton@khirnov.net>
Fri, 25 Mar 2016 12:36:28 +0000 (13:36 +0100)
committerAnton Khirnov <anton@khirnov.net>
Fri, 25 Mar 2016 13:53:37 +0000 (14:53 +0100)
The test uses printf.

libavformat/rtmpdh.c

index f56a784..9f3a43f 100644 (file)
@@ -362,6 +362,9 @@ fail:
 }
 
 #ifdef TEST
+
+#include <stdio.h>
+
 static int test_random_shared_secret(void)
 {
     FF_DH *peer1 = NULL, *peer2 = NULL;