summaryrefslogtreecommitdiff
path: root/lib/vauth/cleartext.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/vauth/cleartext.c')
-rw-r--r--lib/vauth/cleartext.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/vauth/cleartext.c b/lib/vauth/cleartext.c
index 1f6eae999..c651fc514 100644
--- a/lib/vauth/cleartext.c
+++ b/lib/vauth/cleartext.c
@@ -28,7 +28,8 @@
#include "curl_setup.h"
#if !defined(CURL_DISABLE_IMAP) || !defined(CURL_DISABLE_SMTP) || \
- !defined(CURL_DISABLE_POP3)
+ !defined(CURL_DISABLE_POP3) || \
+ (!defined(CURL_DISABLE_LDAP) && defined(USE_OPENLDAP))
#include <curl/curl.h>
#include "urldata.h"