]> granicus.if.org Git - curl/commitdiff
sasl: Fixed compilation warning from commit 25264131e2
authorSteve Holme <steve_holme@hotmail.com>
Wed, 5 Nov 2014 18:20:01 +0000 (18:20 +0000)
committerSteve Holme <steve_holme@hotmail.com>
Wed, 5 Nov 2014 18:36:57 +0000 (18:36 +0000)
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.

lib/curl_sasl.h

index e9ecab348bc651a6611879e20934b4d9abdeda4b..d5a6ff38cb682ec4caf63c332154b1dd3b222a1c 100644 (file)
 
 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;