diff options
author | Andrew Tridgell <tridge@samba.org> | 2011-02-10 14:12:51 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2011-02-10 06:51:07 +0100 |
commit | 8dc92c8f71311e95a3a3c297b32ed46477228f56 (patch) | |
tree | 227e9e372d6939f1d403b3253e47d3abf997035a /source4/param | |
parent | e26b1a69689c8123bddf33830e9659d460815531 (diff) | |
download | samba-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/param')
-rw-r--r-- | source4/param/secrets.c | 2 | ||||
-rw-r--r-- | source4/param/share_ldb.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/source4/param/secrets.c b/source4/param/secrets.c index d87264a960..13bfcc5e96 100644 --- a/source4/param/secrets.c +++ b/source4/param/secrets.c @@ -27,7 +27,7 @@ #include "system/filesys.h" #include "tdb_wrap.h" #include "lib/ldb-samba/ldb_wrap.h" -#include "lib/ldb/include/ldb.h" +#include <ldb.h> #include "../lib/util/util_tdb.h" #include "librpc/gen_ndr/ndr_security.h" #include "dsdb/samdb/samdb.h" diff --git a/source4/param/share_ldb.c b/source4/param/share_ldb.c index 4517661c66..28e145d7db 100644 --- a/source4/param/share_ldb.c +++ b/source4/param/share_ldb.c @@ -20,8 +20,8 @@ */ #include "includes.h" -#include "ldb/include/ldb.h" -#include "ldb/include/ldb_errors.h" +#include <ldb.h> +#include <ldb_errors.h> #include "auth/auth.h" #include "ldb_wrap.h" #include "param/share.h" |