aboutsummaryrefslogtreecommitdiff
path: root/lib/ldap.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-06-11 11:13:01 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-06-11 11:13:01 +0000
commit08ef208fb78fb2eabc5cec08c23e74e251eac898 (patch)
treec52fa36be6197717f9ab12031a623091d785b51c /lib/ldap.c
parent8c45e2a6415a3a12231b88cd2791141ec809d163 (diff)
added disable-[protocol] support, largely provided by Miklos Nemeth
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