summaryrefslogtreecommitdiff
path: root/libcli/ldap
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-05-06 10:41:43 +0200
committerJelmer Vernooij <jelmer@samba.org>2010-05-06 11:34:30 +0200
commitfc336590dc35f1737ddc74333b959bdd32ee22d3 (patch)
tree651a87746b186bd311b557bf089e156fbbd5ff85 /libcli/ldap
parent24b2dddae424215ab707029d30ec7bcd8f0e9a8e (diff)
downloadsamba-fc336590dc35f1737ddc74333b959bdd32ee22d3.tar.gz
samba-fc336590dc35f1737ddc74333b959bdd32ee22d3.tar.bz2
samba-fc336590dc35f1737ddc74333b959bdd32ee22d3.zip
Remove the copy of ldb from Samba 3.
There were two utility functions that other parts of Samba 3 still relied on; they have been moved to lib/ldb_compat.[ch].
Diffstat (limited to 'libcli/ldap')
-rw-r--r--libcli/ldap/ldap_ndr.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libcli/ldap/ldap_ndr.c b/libcli/ldap/ldap_ndr.c
index 6f1bb4ee37..c176d0e1e0 100644
--- a/libcli/ldap/ldap_ndr.c
+++ b/libcli/ldap/ldap_ndr.c
@@ -21,7 +21,11 @@
*/
#include "includes.h"
+#if _SAMBA_BUILD_ == 3
+#include "lib/ldb_compat.h"
+#else
#include "lib/ldb/include/ldb.h"
+#endif
#include "librpc/gen_ndr/ndr_security.h"
#include "librpc/gen_ndr/ndr_misc.h"
#include "libcli/ldap/ldap_ndr.h"