summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 613f6dcac4..389a734227 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,