summaryrefslogtreecommitdiff
path: root/libcli/ldap
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-01-24 13:29:14 +0100
committerStefan Metzmacher <metze@samba.org>2011-01-24 14:55:50 +0100
commit0dc1eee0b8174d591ea02de40bb564088a25fd97 (patch)
treef5ed8238ec81fa3993227b0795e8d6c8577ebffd /libcli/ldap
parentcea36aeacf8778493463f31e6afc3f58384639e2 (diff)
downloadsamba-0dc1eee0b8174d591ea02de40bb564088a25fd97.tar.gz
samba-0dc1eee0b8174d591ea02de40bb564088a25fd97.tar.bz2
samba-0dc1eee0b8174d591ea02de40bb564088a25fd97.zip
libcli/ldap: use lib/ldb_compat.h for the s3 build
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Jan 24 14:55:50 CET 2011 on sn-devel-104
Diffstat (limited to 'libcli/ldap')
-rw-r--r--libcli/ldap/ldap_message.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libcli/ldap/ldap_message.h b/libcli/ldap/ldap_message.h
index c50018465c..3354fadb92 100644
--- a/libcli/ldap/ldap_message.h
+++ b/libcli/ldap/ldap_message.h
@@ -22,7 +22,11 @@
#define _LIBCLI_LDAP_MESSAGE_H_
#include "../libcli/ldap/ldap_errors.h"
+#if _SAMBA_BUILD_ == 3
+#include "lib/ldb_compat.h"
+#else
#include "lib/ldb/include/ldb.h"
+#endif
enum ldap_request_tag {
LDAP_TAG_BindRequest = 0,