aboutsummaryrefslogtreecommitdiff
path: root/lib/curl_ntlm.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/curl_ntlm.h')
-rw-r--r--lib/curl_ntlm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/curl_ntlm.h b/lib/curl_ntlm.h
index 3db60cd1b..947eac20d 100644
--- a/lib/curl_ntlm.h
+++ b/lib/curl_ntlm.h
@@ -24,7 +24,7 @@
#include "curl_setup.h"
-#ifdef USE_NTLM
+#if !defined(CURL_DISABLE_HTTP) && defined(USE_NTLM)
/* this is for ntlm header input */
CURLcode Curl_input_ntlm(struct connectdata *conn, bool proxy,
@@ -35,6 +35,6 @@ CURLcode Curl_output_ntlm(struct connectdata *conn, bool proxy);
void Curl_http_ntlm_cleanup(struct connectdata *conn);
-#endif
+#endif /* !CURL_DISABLE_HTTP && USE_NTLM */
#endif /* HEADER_CURL_NTLM_H */