aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/socks.c2
-rw-r--r--lib/socks_sspi.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/socks.c b/lib/socks.c
index b382de798..43e6d95f6 100644
--- a/lib/socks.c
+++ b/lib/socks.c
@@ -22,7 +22,7 @@
#include "setup.h"
-#if !defined(CURL_DISABLE_PROXY) || defined(USE_WINDOWS_SSPI)
+#if !defined(CURL_DISABLE_PROXY)
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
diff --git a/lib/socks_sspi.c b/lib/socks_sspi.c
index edebf7a47..6e95e3c35 100644
--- a/lib/socks_sspi.c
+++ b/lib/socks_sspi.c
@@ -23,7 +23,7 @@
#include "setup.h"
-#ifdef USE_WINDOWS_SSPI
+#if defined(USE_WINDOWS_SSPI) && !defined(CURL_DISABLE_PROXY)
#include "urldata.h"
#include "sendf.h"