summaryrefslogtreecommitdiffstats
path: root/source3/include
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-04-29 18:43:30 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-04-29 11:47:07 +0200
commit4d41a5effdc9a13921367be3412b53a39f75d73a (patch)
tree11084bd6a99fbdd8a13f9e50d9ceafddde80dff8 /source3/include
parentf96793142d0b5a6e0bdb0bcf4811178f3274949c (diff)
downloadsamba-4d41a5effdc9a13921367be3412b53a39f75d73a.tar.gz
samba-4d41a5effdc9a13921367be3412b53a39f75d73a.tar.xz
samba-4d41a5effdc9a13921367be3412b53a39f75d73a.zip
s3-ldap Only prototype ldap_init_fd() when we have found it in the libraries
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Apr 29 11:47:07 CEST 2011 on sn-devel-104
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/smb_ldap.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/include/smb_ldap.h b/source3/include/smb_ldap.h
index 613f6dcac48..389a7342273 100644
--- a/source3/include/smb_ldap.h
+++ b/source3/include/smb_ldap.h
@@ -26,7 +26,10 @@ typedef int ber_int_t;
#ifdef HAVE_LDAP_PVT_H
#include <ldap_pvt.h>
#endif /* HAVE_LDAP_PVT_H */
+
+#ifdef HAVE_LDAP_INIT_FD
int ldap_init_fd(ber_socket_t fd, int proto, char *uri, LDAP **ldp);
+#endif
/* function declarations not included in proto.h */
LDAP *ldap_open_with_timeout(const char *server,