Skip to content

Commit

Permalink
http_proxy: fix build with http and proxy
Browse files Browse the repository at this point in the history
After deff7de, the build without
CURL_DISABLE_PROXY and CURL_DISABLE_HTTP was failing because of missing
includes.
  • Loading branch information
MarcelRaad committed Jun 18, 2017
1 parent deff7de commit edafd52
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/http_proxy.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
3 changes: 3 additions & 0 deletions lib/http_proxy.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit edafd52

Please sign in to comment.