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/ldap_server | |
parent | e26b1a69689c8123bddf33830e9659d460815531 (diff) | |
download | samba-8dc92c8f71311e95a3a3c297b32ed46477228f56.tar.gz |
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/ldap_server')
-rw-r--r-- | source4/ldap_server/ldap_backend.c | 4 | ||||
-rw-r--r-- | source4/ldap_server/ldap_bind.c | 4 | ||||
-rw-r--r-- | source4/ldap_server/ldap_server.c | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/source4/ldap_server/ldap_backend.c b/source4/ldap_server/ldap_backend.c index f3c9b01b7e7..e96caa6b07e 100644 --- a/source4/ldap_server/ldap_backend.c +++ b/source4/ldap_server/ldap_backend.c @@ -26,8 +26,8 @@ #include "param/param.h" #include "smbd/service_stream.h" #include "dsdb/samdb/samdb.h" -#include "lib/ldb/include/ldb_errors.h" -#include "lib/ldb/include/ldb_module.h" +#include <ldb_errors.h> +#include <ldb_module.h> #include "ldb_wrap.h" #define VALID_DN_SYNTAX(dn) do {\ diff --git a/source4/ldap_server/ldap_bind.c b/source4/ldap_server/ldap_bind.c index 92afb800e06..0f3d0631d00 100644 --- a/source4/ldap_server/ldap_bind.c +++ b/source4/ldap_server/ldap_bind.c @@ -21,8 +21,8 @@ #include "ldap_server/ldap_server.h" #include "auth/auth.h" #include "smbd/service.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 "auth/gensec/gensec.h" #include "auth/gensec/gensec_tstream.h" diff --git a/source4/ldap_server/ldap_server.c b/source4/ldap_server/ldap_server.c index 4547759a37a..cd90b47b45c 100644 --- a/source4/ldap_server/ldap_server.c +++ b/source4/ldap_server/ldap_server.c @@ -36,8 +36,8 @@ #include "smbd/process_model.h" #include "lib/tls/tls.h" #include "lib/messaging/irpc.h" -#include "lib/ldb/include/ldb.h" -#include "lib/ldb/include/ldb_errors.h" +#include <ldb.h> +#include <ldb_errors.h> #include "libcli/ldap/ldap_proto.h" #include "system/network.h" #include "lib/socket/netif.h" |