diff --git a/lib/http_ntlm.h b/lib/http_ntlm.h index a2e1fc307a8e078246d8c5f867da91a701dcefb4..c4e669ba17e4b29e9403df3af9a1c3f685f844f7 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