summaryrefslogtreecommitdiff
path: root/source3/lib/ldb/common
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-09-25 16:29:26 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:14:44 -0500
commitb70ee55a7cec1a9774f6ab56e92d0d9dd36ca217 (patch)
treebcf1e149e6bcc1944e9e65467daf228839b38cb1 /source3/lib/ldb/common
parent22a21fdf04216c72b5e365253cc4ef49dcccf714 (diff)
downloadsamba-b70ee55a7cec1a9774f6ab56e92d0d9dd36ca217.tar.gz
samba-b70ee55a7cec1a9774f6ab56e92d0d9dd36ca217.tar.bz2
samba-b70ee55a7cec1a9774f6ab56e92d0d9dd36ca217.zip
r18900: Next attempt to fix the Solaris build. Not sure about whether to merge this
one. Tridge? Metze? Volker (This used to be commit d0eef2f6e870031538959f2308a3414fc68ef18c)
Diffstat (limited to 'source3/lib/ldb/common')
-rw-r--r--source3/lib/ldb/common/ldb_modules.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/ldb/common/ldb_modules.c b/source3/lib/ldb/common/ldb_modules.c
index 06a8a4bcf6..c6cf1e88eb 100644
--- a/source3/lib/ldb/common/ldb_modules.c
+++ b/source3/lib/ldb/common/ldb_modules.c
@@ -137,7 +137,7 @@ static const struct ldb_module_ops *ldb_find_module_ops(const char *name)
#ifndef STATIC_ldb_MODULES
-#ifdef HAVE_LDAP
+#if defined(HAVE_LDAP) && defined(HAVE_LDAP_INITIALIZE)
#define LDAP_INIT ldb_ldap_init,
#else
#define LDAP_INIT