summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/include/includes.h3
-rw-r--r--source4/lib/ldb/include/includes.h3
2 files changed, 3 insertions, 3 deletions
diff --git a/source4/include/includes.h b/source4/include/includes.h
index 7c724ef2e8..dc71696ac7 100644
--- a/source4/include/includes.h
+++ b/source4/include/includes.h
@@ -75,9 +75,6 @@
#include <varargs.h>
#endif
-/* tell ldb we have the internal ldap code */
-#define HAVE_ILDAP 1
-
/*
we use struct ipv4_addr to avoid having to include all the
system networking headers everywhere
diff --git a/source4/lib/ldb/include/includes.h b/source4/lib/ldb/include/includes.h
index b10f329a2d..57c207bd74 100644
--- a/source4/lib/ldb/include/includes.h
+++ b/source4/lib/ldb/include/includes.h
@@ -12,6 +12,9 @@
#include "build.h"
+/* tell ldb we have the internal ldap code */
+#define HAVE_ILDAP 1
+
#else /*_SAMBA_BUILD_*/
#ifndef _GNU_SOURCE