mirror of
https://github.com/curl/curl.git
synced 2026-07-24 09:17:59 +03:00
sasl: only enable if there's a protocol enabled using it
This commit is contained in:
parent
b95456f4e2
commit
e5b546b339
1 changed files with 4 additions and 0 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue