From f4af38120ac2b641ac84b5c801d61486313e3f2d Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Wed, 5 Nov 2014 18:20:01 +0000 Subject: 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. --- lib/curl_sasl.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'lib/curl_sasl.h') 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; -- cgit v1.2.3