From: Gisle Vanem Date: Sun, 15 Mar 2009 13:43:47 +0000 (+0000) Subject: If CURL_DISABLE_PROXY is defined, we must allow socks_sspi.c to call X-Git-Tag: curl-7_19_5~266 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0ac8e1d80b2ae4cb6e62d1dc012767459c7984ea;p=thirdparty%2Fcurl.git 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. --- diff --git a/lib/socks.c b/lib/socks.c index 9fc5b79484..edf9c55533 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 #ifdef NEED_MALLOC_H