From e571c8a8ac1f3385796bbaf65d5355cb2bf76885 Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Wed, 14 Jul 2004 13:32:30 +0000 Subject: r1500: BUG 1516: manually declare ldap_open_with_timeout() to workaround compiler errors on IRIX (This used to be commit b47971174da9ef882e7941e53033e23c679db9a2) --- source3/include/includes.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/source3/include/includes.h b/source3/include/includes.h index 7657984bfb..2664cad098 100644 --- a/source3/include/includes.h +++ b/source3/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. */ -- cgit