summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Raad <raad@teamviewer.com>2017-04-29 19:17:51 +0200
committerMarcel Raad <raad@teamviewer.com>2017-04-29 19:17:51 +0200
commit65c6caacaee87f2b09aa03e5eed1bcbd9e356f68 (patch)
tree0174647a269791165053b44d2e4830614f36c9f5
parent12e7a8c3d609d6a6094a7db8fb8c0cc80d8f55f0 (diff)
downloadcurl-65c6caacaee87f2b09aa03e5eed1bcbd9e356f68.tar.gz
curl_rtmp: fix missing-variable-declarations warnings
clang complains: curl_rtmp.c:61:27: error: no previous extern declaration for non-static variable 'Curl_handler_rtmp' [-Werror,-Wmissing-variable-declarations] curl_rtmp.c:81:27: error: no previous extern declaration for non-static variable 'Curl_handler_rtmpt' [-Werror,-Wmissing-variable-declarations] curl_rtmp.c:101:27: error: no previous extern declaration for non-static variable 'Curl_handler_rtmpe' [-Werror,-Wmissing-variable-declarations] curl_rtmp.c:121:27: error: no previous extern declaration for non-static variable 'Curl_handler_rtmpte' [-Werror,-Wmissing-variable-declarations] curl_rtmp.c:141:27: error: no previous extern declaration for non-static variable 'Curl_handler_rtmps' [-Werror,-Wmissing-variable-declarations] curl_rtmp.c:161:27: error: no previous extern declaration for non-static variable 'Curl_handler_rtmpts' [-Werror,-Wmissing-variable-declarations] Fix this by including the header file.
-rw-r--r--lib/curl_rtmp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/curl_rtmp.c b/lib/curl_rtmp.c
index 06dd047a4..87a6caf9e 100644
--- a/lib/curl_rtmp.c
+++ b/lib/curl_rtmp.c
@@ -25,6 +25,7 @@
#ifdef USE_LIBRTMP
+#include "curl_rtmp.h"
#include "urldata.h"
#include "nonblock.h" /* for curlx_nonblock */
#include "progress.h" /* for Curl_pgrsSetUploadSize */