From: Gerald Carter Date: Wed, 14 Jul 2004 13:32:30 +0000 (+0000) Subject: r1500: BUG 1516: manually declare ldap_open_with_timeout() to workaround compiler... X-Git-Tag: samba-misc-tags/initial-v3-0-unstable~5967 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b47971174da9ef882e7941e53033e23c679db9a2;p=thirdparty%2Fsamba.git r1500: BUG 1516: manually declare ldap_open_with_timeout() to workaround compiler errors on IRIX --- diff --git a/source/include/includes.h b/source/include/includes.h index 7657984bfb1..2664cad098f 100644 --- a/source/include/includes.h +++ b/source/include/includes.h @@ -1309,6 +1309,15 @@ void free_kerberos_etypes(krb5_context context, krb5_enctype *enctypes); BOOL get_krb5_smb_session_key(krb5_context context, krb5_auth_context auth_context, DATA_BLOB *session_key, BOOL remote); #endif /* HAVE_KRB5 */ + +#ifdef HAVE_LDAP + +/* function declarations not included in proto.h */ +LDAP *ldap_open_with_timeout(const char *server, int port, unsigned int to); + +#endif /* HAVE_LDAP */ + + /* TRUE and FALSE are part of the C99 standard and gcc, but unfortunately many vendor compilers don't support them. Use True and False instead. */