aboutsummaryrefslogtreecommitdiff
path: root/lib/ldap.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ldap.c')
-rw-r--r--lib/ldap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/ldap.c b/lib/ldap.c
index 910907f58..331ba1622 100644
--- a/lib/ldap.c
+++ b/lib/ldap.c
@@ -23,6 +23,7 @@
#include "setup.h"
+#ifndef CURL_DISABLE_LDAP
/* -- WIN32 approved -- */
#include <stdio.h>
#include <string.h>
@@ -229,3 +230,4 @@ CURLcode Curl_ldap(struct connectdata *conn)
* vim600: fdm=marker
* vim: et sw=2 ts=2 sts=2 tw=78
*/
+#endif