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 /libcli/ldap | |
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 'libcli/ldap')
-rw-r--r-- | libcli/ldap/ldap_message.h | 2 | ||||
-rw-r--r-- | libcli/ldap/ldap_ndr.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libcli/ldap/ldap_message.h b/libcli/ldap/ldap_message.h index 3354fadb92..94eaed2f96 100644 --- a/libcli/ldap/ldap_message.h +++ b/libcli/ldap/ldap_message.h @@ -25,7 +25,7 @@ #if _SAMBA_BUILD_ == 3 #include "lib/ldb_compat.h" #else -#include "lib/ldb/include/ldb.h" +#include <ldb.h> #endif enum ldap_request_tag { diff --git a/libcli/ldap/ldap_ndr.c b/libcli/ldap/ldap_ndr.c index 6daaba3604..f77a6f2c3d 100644 --- a/libcli/ldap/ldap_ndr.c +++ b/libcli/ldap/ldap_ndr.c @@ -24,7 +24,7 @@ #if _SAMBA_BUILD_ == 3 #include "lib/ldb_compat.h" #else -#include "lib/ldb/include/ldb.h" +#include <ldb.h> #endif #include "librpc/gen_ndr/ndr_security.h" #include "librpc/gen_ndr/ndr_misc.h" |