diff options
-rw-r--r-- | lib/curl_sasl.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/curl_sasl.c b/lib/curl_sasl.c index f5d8e8f4b..6707c40c5 100644 --- a/lib/curl_sasl.c +++ b/lib/curl_sasl.c @@ -31,6 +31,9 @@ #include "curl_setup.h" +#if !defined(CURL_DISABLE_IMAP) || !defined(CURL_DISABLE_SMTP) || \ + !defined(CURL_DISABLE_POP3) + #include <curl/curl.h> #include "urldata.h" @@ -623,3 +626,4 @@ CURLcode Curl_sasl_continue(struct SASL *sasl, struct connectdata *conn, return result; } +#endif /* protocols are enabled that use SASL */ |