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.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/curl_ntlm.h b/lib/curl_ntlm.h
index ef3dfc1e4..fb6cad764 100644
--- a/lib/curl_ntlm.h
+++ b/lib/curl_ntlm.h
@@ -50,6 +50,9 @@ void Curl_ntlm_sspi_cleanup(struct ntlmdata *ntlm);
/* NTLM buffer fixed size, large enough for long user + host + domain */
#define NTLM_BUFSIZE 1024
+/* Stuff only required for curl_ntlm.c */
+#ifdef BUILDING_CURL_NTLM_C
+
/* Flag bits definitions based on http://davenport.sourceforge.net/ntlm.html */
#define NTLMFLAG_NEGOTIATE_UNICODE (1<<0)
@@ -154,6 +157,8 @@ void Curl_ntlm_sspi_cleanup(struct ntlmdata *ntlm);
#define NTLMFLAG_NEGOTIATE_56 (1<<31)
/* Indicates that 56-bit encryption is supported. */
+#endif /* BUILDING_CURL_NTLM_C */
+
#endif /* USE_NTLM */
#endif /* HEADER_CURL_NTLM_H */