diff options
Diffstat (limited to 'lib/socks.c')
-rw-r--r-- | lib/socks.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/socks.c b/lib/socks.c index 9bbb0a7f4..693573209 100644 --- a/lib/socks.c +++ b/lib/socks.c @@ -23,6 +23,7 @@ #include "setup.h" +#ifndef CURL_DISABLE_PROXY #include <string.h> #ifdef NEED_MALLOC_H @@ -686,3 +687,6 @@ CURLcode Curl_SOCKS5(const char *proxy_name, Curl_nonblock(sock, TRUE); return CURLE_OK; /* Proxy was successful! */ } + +#endif /* CURL_DISABLE_PROXY */ + |