1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

http_proxy: fix build with http and proxy

After deff7de0eb, the build without
CURL_DISABLE_PROXY and CURL_DISABLE_HTTP was failing because of missing
includes.
This commit is contained in:
Marcel Raad 2017-06-18 15:18:15 +02:00
parent deff7de0eb
commit edafd52be1
No known key found for this signature in database
GPG Key ID: 33C416EFAE4D6F02
2 changed files with 3 additions and 1 deletions

View File

@ -26,7 +26,6 @@
#if !defined(CURL_DISABLE_PROXY) && !defined(CURL_DISABLE_HTTP) #if !defined(CURL_DISABLE_PROXY) && !defined(CURL_DISABLE_HTTP)
#include "urldata.h"
#include <curl/curl.h> #include <curl/curl.h>
#include "sendf.h" #include "sendf.h"
#include "http.h" #include "http.h"

View File

@ -22,6 +22,9 @@
* *
***************************************************************************/ ***************************************************************************/
#include "curl_setup.h"
#include "urldata.h"
#if !defined(CURL_DISABLE_PROXY) && !defined(CURL_DISABLE_HTTP) #if !defined(CURL_DISABLE_PROXY) && !defined(CURL_DISABLE_HTTP)
/* ftp can use this as well */ /* ftp can use this as well */
CURLcode Curl_proxyCONNECT(struct connectdata *conn, CURLcode Curl_proxyCONNECT(struct connectdata *conn,