aboutsummaryrefslogtreecommitdiff
path: root/lib/socks.c
diff options
context:
space:
mode:
authorGisle Vanem <gvanem@broadpark.no>2009-03-15 13:43:47 +0000
committerGisle Vanem <gvanem@broadpark.no>2009-03-15 13:43:47 +0000
commit0ac8e1d80b2ae4cb6e62d1dc012767459c7984ea (patch)
tree1b078e8124f3cf91f9f02794884913222eabd4b0 /lib/socks.c
parent744e55ec74854b3fa39aadce579a151a2facc241 (diff)
If CURL_DISABLE_PROXY is defined, we must allow socks_sspi.c to call
Curl_blockread_all(). It is needed in code inside USE_WINDOWS_SSPI.
Diffstat (limited to 'lib/socks.c')
-rw-r--r--lib/socks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/socks.c b/lib/socks.c
index 9fc5b7948..edf9c5553 100644
--- a/lib/socks.c
+++ b/lib/socks.c
@@ -23,7 +23,7 @@
#include "setup.h"
-#ifndef CURL_DISABLE_PROXY
+#if !defined(CURL_DISABLE_PROXY) || defined(USE_WINDOWS_SSPI)
#include <string.h>
#ifdef NEED_MALLOC_H