summaryrefslogtreecommitdiff
path: root/lib/http_negotiate.h
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2019-05-10 13:08:04 +0100
committerSteve Holme <steve_holme@hotmail.com>2019-05-11 17:23:27 +0100
commitfb243b0475c2a3a60889120ee3f05380e60645f0 (patch)
tree97d66122496c92dd483feadb780be61e04473bd4 /lib/http_negotiate.h
parentb4988286a91452fab4991f925d88909c41d74285 (diff)
downloadcurl-fb243b0475c2a3a60889120ee3f05380e60645f0.tar.gz
http_negotiate: Don't expose functions when HTTP is disabled
Diffstat (limited to 'lib/http_negotiate.h')
-rw-r--r--lib/http_negotiate.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/http_negotiate.h b/lib/http_negotiate.h
index d4a7f09e0..1197036b2 100644
--- a/lib/http_negotiate.h
+++ b/lib/http_negotiate.h
@@ -22,7 +22,7 @@
*
***************************************************************************/
-#ifdef USE_SPNEGO
+#if !defined(CURL_DISABLE_HTTP) && defined(USE_SPNEGO)
/* this is for Negotiate header input */
CURLcode Curl_input_negotiate(struct connectdata *conn, bool proxy,
@@ -33,6 +33,6 @@ CURLcode Curl_output_negotiate(struct connectdata *conn, bool proxy);
void Curl_cleanup_negotiate(struct connectdata *conn);
-#endif /* USE_SPNEGO */
+#endif /* !CURL_DISABLE_HTTP && USE_SPNEGO */
#endif /* HEADER_CURL_HTTP_NEGOTIATE_H */