summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMarcel Raad <raad@teamviewer.com>2017-06-18 12:53:54 +0200
committerMarcel Raad <raad@teamviewer.com>2017-06-18 12:53:54 +0200
commitdeff7de0eb0e22d2d142b96b9cc84cd8db5d2a48 (patch)
tree3695e25168e5dcfd07d90157b145b7555ad22011 /lib
parentc095d7b59023945e2e85dcd869679f6458215ee7 (diff)
downloadcurl-deff7de0eb0e22d2d142b96b9cc84cd8db5d2a48.tar.gz
http_proxy: fix compiler warning
With CURL_DISABLE_PROXY or CURL_DISABLE_HTTP, GCC complained about a missing prototype for Curl_connect_free.
Diffstat (limited to 'lib')
-rw-r--r--lib/http_proxy.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/http_proxy.c b/lib/http_proxy.c
index e1545ddf4..ac0d18e3c 100644
--- a/lib/http_proxy.c
+++ b/lib/http_proxy.c
@@ -22,11 +22,12 @@
#include "curl_setup.h"
+#include "http_proxy.h"
+
#if !defined(CURL_DISABLE_PROXY) && !defined(CURL_DISABLE_HTTP)
#include "urldata.h"
#include <curl/curl.h>
-#include "http_proxy.h"
#include "sendf.h"
#include "http.h"
#include "url.h"