mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 15:48: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:
parent
deff7de0eb
commit
edafd52be1
@ -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"
|
||||||
|
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user