summaryrefslogtreecommitdiff
path: root/source4/samba_tool
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/samba_tool
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/samba_tool')
-rw-r--r--source4/samba_tool/gpo.c2
-rw-r--r--source4/samba_tool/samba_tool.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source4/samba_tool/gpo.c b/source4/samba_tool/gpo.c
index 46243a07b6..10c231c85a 100644
--- a/source4/samba_tool/gpo.c
+++ b/source4/samba_tool/gpo.c
@@ -23,7 +23,7 @@
#include "includes.h"
#include "samba_tool/samba_tool.h"
-#include "lib/ldb/include/ldb.h"
+#include <ldb.h>
#include "auth/auth.h"
#include "param/param.h"
#include "libcli/security/sddl.h"
diff --git a/source4/samba_tool/samba_tool.c b/source4/samba_tool/samba_tool.c
index 411eb6d98d..8dfbb83298 100644
--- a/source4/samba_tool/samba_tool.c
+++ b/source4/samba_tool/samba_tool.c
@@ -45,7 +45,7 @@
#include "includes.h"
#include "samba_tool/samba_tool.h"
#include "lib/cmdline/popt_common.h"
-#include "lib/ldb/include/ldb.h"
+#include <ldb.h>
#include "librpc/rpc/dcerpc.h"
#include "param/param.h"
#include "lib/events/events.h"