aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2014-11-05 18:20:01 +0000
committerSteve Holme <steve_holme@hotmail.com>2014-11-05 18:36:57 +0000
commitf4af38120ac2b641ac84b5c801d61486313e3f2d (patch)
tree75be3770a940a1986c80f31f2c8fe290c0765c59
parent259f4f3d01f42ef4744318daa9e0c1fbbf8123b5 (diff)
sasl: Fixed compilation warning from commit 25264131e2
Added forward declaration of digestdata to overcome the following compilation warning: warning: 'struct digestdata' declared inside parameter list Additionally made the ntlmdata forward declaration dependent on USE_NTLM similar to how digestdata and kerberosdata are.
-rw-r--r--lib/curl_sasl.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/curl_sasl.h b/lib/curl_sasl.h
index e9ecab348..d5a6ff38c 100644
--- a/lib/curl_sasl.h
+++ b/lib/curl_sasl.h
@@ -26,7 +26,14 @@
struct SessionHandle;
struct connectdata;
+
+#if !defined(CURL_DISABLE_CRYPTO_AUTH)
+struct digestdata;
+#endif
+
+#if defined(USE_NTLM)
struct ntlmdata;
+#endif
#if defined(USE_KRB5)
struct kerberos5data;