summaryrefslogtreecommitdiff
path: root/source4/cldap_server
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2011-02-10 14:12:51 +1100
committerAndrew Tridgell <tridge@samba.org>2011-02-10 06:51:07 +0100
commit8dc92c8f71311e95a3a3c297b32ed46477228f56 (patch)
tree227e9e372d6939f1d403b3253e47d3abf997035a /source4/cldap_server
parente26b1a69689c8123bddf33830e9659d460815531 (diff)
downloadsamba-8dc92c8f71311e95a3a3c297b32ed46477228f56.tar.gz
samba-8dc92c8f71311e95a3a3c297b32ed46477228f56.tar.bz2
samba-8dc92c8f71311e95a3a3c297b32ed46477228f56.zip
ldb: use #include <ldb.h> for ldb
thi ensures we are using the header corresponding to the version of ldb we're linking against. Otherwise we could use the system ldb for link and the in-tree one for include Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/cldap_server')
-rw-r--r--source4/cldap_server/cldap_server.c4
-rw-r--r--source4/cldap_server/netlogon.c4
-rw-r--r--source4/cldap_server/rootdse.c4
3 files changed, 6 insertions, 6 deletions
diff --git a/source4/cldap_server/cldap_server.c b/source4/cldap_server/cldap_server.c
index 8b396845ae..5dbf9c99be 100644
--- a/source4/cldap_server/cldap_server.c
+++ b/source4/cldap_server/cldap_server.c
@@ -27,8 +27,8 @@
#include "cldap_server/cldap_server.h"
#include "system/network.h"
#include "lib/socket/netif.h"
-#include "lib/ldb/include/ldb.h"
-#include "lib/ldb/include/ldb_errors.h"
+#include <ldb.h>
+#include <ldb_errors.h>
#include "dsdb/samdb/samdb.h"
#include "ldb_wrap.h"
#include "auth/auth.h"
diff --git a/source4/cldap_server/netlogon.c b/source4/cldap_server/netlogon.c
index 7192e4601f..4d3ef48a79 100644
--- a/source4/cldap_server/netlogon.c
+++ b/source4/cldap_server/netlogon.c
@@ -21,8 +21,8 @@
*/
#include "includes.h"
-#include "lib/ldb/include/ldb.h"
-#include "lib/ldb/include/ldb_errors.h"
+#include <ldb.h>
+#include <ldb_errors.h>
#include "lib/events/events.h"
#include "smbd/service_task.h"
#include "cldap_server/cldap_server.h"
diff --git a/source4/cldap_server/rootdse.c b/source4/cldap_server/rootdse.c
index 59f30bc3e5..b8956169d2 100644
--- a/source4/cldap_server/rootdse.c
+++ b/source4/cldap_server/rootdse.c
@@ -21,8 +21,8 @@
#include "includes.h"
#include <tevent.h>
-#include "lib/ldb/include/ldb.h"
-#include "lib/ldb/include/ldb_errors.h"
+#include <ldb.h>
+#include <ldb_errors.h>
#include "smbd/service_task.h"
#include "cldap_server/cldap_server.h"
#include "librpc/gen_ndr/ndr_misc.h"