summaryrefslogtreecommitdiff
path: root/source4/libnet
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/libnet
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/libnet')
-rw-r--r--source4/libnet/libnet.h2
-rw-r--r--source4/libnet/libnet_become_dc.c4
-rw-r--r--source4/libnet/libnet_join.c4
-rw-r--r--source4/libnet/libnet_site.c4
-rw-r--r--source4/libnet/libnet_unbecome_dc.c4
-rw-r--r--source4/libnet/libnet_vampire.c4
6 files changed, 11 insertions, 11 deletions
diff --git a/source4/libnet/libnet.h b/source4/libnet/libnet.h
index 7492b7337a..4e55ed05f5 100644
--- a/source4/libnet/libnet.h
+++ b/source4/libnet/libnet.h
@@ -60,7 +60,7 @@ struct libnet_context {
};
-#include "lib/ldb/include/ldb.h"
+#include <ldb.h>
#include "libnet/composite.h"
#include "libnet/userman.h"
#include "libnet/userinfo.h"
diff --git a/source4/libnet/libnet_become_dc.c b/source4/libnet/libnet_become_dc.c
index e1545e8d3c..29ee069dd3 100644
--- a/source4/libnet/libnet_become_dc.c
+++ b/source4/libnet/libnet_become_dc.c
@@ -21,8 +21,8 @@
#include "libnet/libnet.h"
#include "libcli/composite/composite.h"
#include "libcli/cldap/cldap.h"
-#include "lib/ldb/include/ldb.h"
-#include "lib/ldb/include/ldb_errors.h"
+#include <ldb.h>
+#include <ldb_errors.h>
#include "ldb_wrap.h"
#include "dsdb/samdb/samdb.h"
#include "../libds/common/flags.h"
diff --git a/source4/libnet/libnet_join.c b/source4/libnet/libnet_join.c
index 1b485e7724..715f21b989 100644
--- a/source4/libnet/libnet_join.c
+++ b/source4/libnet/libnet_join.c
@@ -22,8 +22,8 @@
#include "includes.h"
#include "libnet/libnet.h"
#include "librpc/gen_ndr/ndr_drsuapi_c.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 "libcli/security/security.h"
diff --git a/source4/libnet/libnet_site.c b/source4/libnet/libnet_site.c
index e4f037d0b8..5332b047e5 100644
--- a/source4/libnet/libnet_site.c
+++ b/source4/libnet/libnet_site.c
@@ -20,8 +20,8 @@
#include "includes.h"
#include "libnet/libnet.h"
#include "libcli/cldap/cldap.h"
-#include "lib/ldb/include/ldb.h"
-#include "lib/ldb/include/ldb_errors.h"
+#include <ldb.h>
+#include <ldb_errors.h>
#include "libcli/resolve/resolve.h"
#include "param/param.h"
#include "lib/tsocket/tsocket.h"
diff --git a/source4/libnet/libnet_unbecome_dc.c b/source4/libnet/libnet_unbecome_dc.c
index bc96c4ac3e..67227de13b 100644
--- a/source4/libnet/libnet_unbecome_dc.c
+++ b/source4/libnet/libnet_unbecome_dc.c
@@ -21,8 +21,8 @@
#include "libnet/libnet.h"
#include "libcli/composite/composite.h"
#include "libcli/cldap/cldap.h"
-#include "lib/ldb/include/ldb.h"
-#include "lib/ldb/include/ldb_errors.h"
+#include <ldb.h>
+#include <ldb_errors.h>
#include "ldb_wrap.h"
#include "dsdb/samdb/samdb.h"
#include "../libds/common/flags.h"
diff --git a/source4/libnet/libnet_vampire.c b/source4/libnet/libnet_vampire.c
index 40cf01ed52..91a11eec67 100644
--- a/source4/libnet/libnet_vampire.c
+++ b/source4/libnet/libnet_vampire.c
@@ -27,8 +27,8 @@
#include "lib/events/events.h"
#include "dsdb/samdb/samdb.h"
#include "../lib/util/dlinklist.h"
-#include "lib/ldb/include/ldb.h"
-#include "lib/ldb/include/ldb_errors.h"
+#include <ldb.h>
+#include <ldb_errors.h>
#include "librpc/ndr/libndr.h"
#include "librpc/gen_ndr/ndr_drsuapi.h"
#include "librpc/gen_ndr/ndr_drsblobs.h"