From 4d41a5effdc9a13921367be3412b53a39f75d73a Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Fri, 29 Apr 2011 18:43:30 +1000 Subject: s3-ldap Only prototype ldap_init_fd() when we have found it in the libraries Autobuild-User: Andrew Bartlett Autobuild-Date: Fri Apr 29 11:47:07 CEST 2011 on sn-devel-104 --- source3/include/smb_ldap.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source3/include/smb_ldap.h') 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 #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, -- cgit