aboutsummaryrefslogtreecommitdiff
path: root/lib/socks_gssapi.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/socks_gssapi.c')
-rw-r--r--lib/socks_gssapi.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/socks_gssapi.c b/lib/socks_gssapi.c
index cd9e1a4d3..d948168d4 100644
--- a/lib/socks_gssapi.c
+++ b/lib/socks_gssapi.c
@@ -23,6 +23,8 @@
#include "setup.h"
+#ifndef CURL_DISABLE_PROXY
+
#ifdef HAVE_GSSAPI
#ifdef HAVE_OLD_GSSMIT
#define GSS_C_NT_HOSTBASED_SERVICE gss_nt_service_name
@@ -545,3 +547,5 @@ CURLcode Curl_SOCKS5_gssapi_negotiate(int sockindex,
return CURLE_OK;
}
#endif
+
+#endif /* CURL_DISABLE_PROXY */