summaryrefslogtreecommitdiff
path: root/source3/include/smbldap.h
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2008-06-26 19:46:18 -0700
committerJeremy Allison <jra@samba.org>2008-06-26 19:46:18 -0700
commit799252f635a4cf1790a24f9ba8765dba9fb7df86 (patch)
tree03c4ed947e066c27bb56ecec2574806e0ad8ecc0 /source3/include/smbldap.h
parent46dd2d77ecad82bcc296a0023f344a40b8a9992f (diff)
downloadsamba-799252f635a4cf1790a24f9ba8765dba9fb7df86.tar.gz
samba-799252f635a4cf1790a24f9ba8765dba9fb7df86.tar.bz2
samba-799252f635a4cf1790a24f9ba8765dba9fb7df86.zip
Fix the non-LDAP, non-krb5 build, fix gcc -O3 warnings.
Jeremy. (This used to be commit 9e2ab30d3cf6950fc79152b2169e7aeae8d6a366)
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