summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMarcel Raad <Marcel.Raad@teamviewer.com>2017-06-18 15:18:15 +0200
committerMarcel Raad <Marcel.Raad@teamviewer.com>2017-06-18 15:18:15 +0200
commitedafd52be16e4a64f1ae14ea0de722413eedfea2 (patch)
tree228f3054ffb84cbe52a8bb85ddcd23b6484c4aa1 /lib
parentdeff7de0eb0e22d2d142b96b9cc84cd8db5d2a48 (diff)
downloadcurl-edafd52be16e4a64f1ae14ea0de722413eedfea2.tar.gz
http_proxy: fix build with http and proxy
After deff7de0eb0e22d2d142b96b9cc84cd8db5d2a48, the build without CURL_DISABLE_PROXY and CURL_DISABLE_HTTP was failing because of missing includes.
Diffstat (limited to 'lib')
-rw-r--r--lib/http_proxy.c1
-rw-r--r--lib/http_proxy.h3
2 files changed, 3 insertions, 1 deletions
diff --git a/lib/http_proxy.c b/lib/http_proxy.c
index ac0d18e3c..36567d36f 100644
--- a/lib/http_proxy.c
+++ b/lib/http_proxy.c
@@ -26,7 +26,6 @@
#if !defined(CURL_DISABLE_PROXY) && !defined(CURL_DISABLE_HTTP)
-#include "urldata.h"
#include <curl/curl.h>
#include "sendf.h"
#include "http.h"
diff --git a/lib/http_proxy.h b/lib/http_proxy.h
index 2e50adc8f..e19fa859a 100644
--- a/lib/http_proxy.h
+++ b/lib/http_proxy.h
@@ -22,6 +22,9 @@
*
***************************************************************************/
+#include "curl_setup.h"
+#include "urldata.h"
+
#if !defined(CURL_DISABLE_PROXY) && !defined(CURL_DISABLE_HTTP)
/* ftp can use this as well */
CURLcode Curl_proxyCONNECT(struct connectdata *conn,