summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-11-25 12:40:23 +0000
committerAndrew Tridgell <tridge@samba.org>2001-11-25 12:40:23 +0000
commit0b5f228d30718801c2b9b1a6da455a5b4e6a7815 (patch)
tree9a2330369b4e2d060c044d1541c406f0fb1d0b93 /source3/include
parente9595e551780abc773d636329ec5ea46d5fc7ebd (diff)
downloadsamba-0b5f228d30718801c2b9b1a6da455a5b4e6a7815.tar.gz
samba-0b5f228d30718801c2b9b1a6da455a5b4e6a7815.tar.bz2
samba-0b5f228d30718801c2b9b1a6da455a5b4e6a7815.zip
added HAVE_LDAP_H check
(This used to be commit a1304be045d9cfd7bb793bb55ff49e158440a90e)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/includes.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h
index adae49ddea..27deaf4339 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -381,7 +381,7 @@
#include <krb5.h>
#endif
-#if HAVE_LDAP
+#if HAVE_LDAP_H
#include <ldap.h>
#endif
@@ -390,7 +390,7 @@
#endif
/* we support ADS if we have krb5 and ldap libs */
-#if defined(HAVE_KRB5) && defined(HAVE_LDAP) && defined(HAVE_SASL_H)
+#if defined(HAVE_KRB5) && defined(HAVE_LDAP) && defined(HAVE_LDAP_H) && defined(HAVE_SASL_H)
#define HAVE_ADS
#endif