aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/http_ntlm.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/http_ntlm.h b/lib/http_ntlm.h
index a2e1fc307..c4e669ba1 100644
--- a/lib/http_ntlm.h
+++ b/lib/http_ntlm.h
@@ -39,7 +39,8 @@ CURLntlm Curl_input_ntlm(struct connectdata *conn, bool proxy, char *header);
CURLcode Curl_output_ntlm(struct connectdata *conn, bool proxy);
void Curl_ntlm_cleanup(struct connectdata *conn);
-#if !defined(USE_SSLEAY) && !defined(USE_WINDOWS_SSPI)
+#if (!defined(USE_SSLEAY) && !defined(USE_WINDOWS_SSPI)) || \
+ defined(CURL_DISABLE_HTTP)
#define Curl_ntlm_cleanup(x)
#endif