summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-07-16 15:31:01 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:28:39 -0500
commitfc3f3c655b62bd002c7ba34550bb0d138cc309dd (patch)
treea6413681986592d5982587594f39d069d331b8d0 /source3
parent57dd25cccbc0691dd4b84d2dca03497863b355ea (diff)
downloadsamba-fc3f3c655b62bd002c7ba34550bb0d138cc309dd.tar.gz
samba-fc3f3c655b62bd002c7ba34550bb0d138cc309dd.tar.bz2
samba-fc3f3c655b62bd002c7ba34550bb0d138cc309dd.zip
r23896: hopefully fix the build on most systems
metze (This used to be commit d5512da62a6ae38321709611b04f419cc6c3b190)
Diffstat (limited to 'source3')
-rw-r--r--source3/include/ads.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/include/ads.h b/source3/include/ads.h
index ad7720fc36..89f54a23f2 100644
--- a/source3/include/ads.h
+++ b/source3/include/ads.h
@@ -54,7 +54,7 @@ typedef struct {
} config;
/* info about the current LDAP connection */
-#ifdef HAVE_ADS
+#ifdef HAVE_LDAP
struct {
LDAP *ld;
struct in_addr ip; /* the ip of the active connection, if any */