summaryrefslogtreecommitdiff
path: root/source3/include/smbldap.h
diff options
context:
space:
mode:
Diffstat (limited to 'source3/include/smbldap.h')
-rw-r--r--source3/include/smbldap.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/source3/include/smbldap.h b/source3/include/smbldap.h
index 79e0a38b0e..a2cb8c5eea 100644
--- a/source3/include/smbldap.h
+++ b/source3/include/smbldap.h
@@ -218,6 +218,13 @@ const char *smbldap_talloc_dn(TALLOC_CTX *mem_ctx, LDAP *ld,
LDAPMessage *entry);
+#else
+#define LDAP void
+#define LDAPMod void
+#define LDAP_CONST const
+#define LDAPControl void
+struct berval;
+struct ldapsam_privates;
#endif /* HAVE_LDAP */
#define LDAP_DEFAULT_TIMEOUT 15