summaryrefslogtreecommitdiff
path: root/lib/smb.h
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2014-12-07 20:44:57 +0000
committerSteve Holme <steve_holme@hotmail.com>2014-12-07 20:47:54 +0000
commitdcd484a23859a3c7107f81ca9f54fed9d81eb2ca (patch)
treee0d9244864405c958ff5ba102d18ac6041153644 /lib/smb.h
parent090232ea198c293d91d587098c2685c24d84c471 (diff)
downloadcurl-dcd484a23859a3c7107f81ca9f54fed9d81eb2ca.tar.gz
smb: Fixed Windows autoconf builds following commit eb88d778e7
As Windows based autoconf builds don't yet define USE_WIN32_CRYPTO either explicitly through --enable-win32-cypto or automatically on _WIN32 based platforms, subsequent builds broke with the following error message: "Can't compile NTLM support without a crypto library."
Diffstat (limited to 'lib/smb.h')
-rw-r--r--lib/smb.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/smb.h b/lib/smb.h
index ff1a812e3..233f4abd6 100644
--- a/lib/smb.h
+++ b/lib/smb.h
@@ -258,9 +258,13 @@ struct smb_tree_disconnect {
#if !defined(CURL_DISABLE_SMB) && defined(USE_NTLM)
+#if !defined(USE_WINDOWS_SSPI) || defined(USE_WIN32_CRYPTO)
+
extern const struct Curl_handler Curl_handler_smb;
extern const struct Curl_handler Curl_handler_smbs;
+#endif /* !USE_WINDOWS_SSPI || USE_WIN32_CRYPTO */
+
#endif /* CURL_DISABLE_SMB && USE_NTLM */
#endif /* HEADER_CURL_SMB_H */