summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2004-07-14 13:32:30 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:52:13 -0500
commite571c8a8ac1f3385796bbaf65d5355cb2bf76885 (patch)
treead7f8264dbb4df33056fdd31095822d10e79dd53 /source3/include
parent9d0783bf211dffe58845b36b0669f05bf8bf25b5 (diff)
downloadsamba-e571c8a8ac1f3385796bbaf65d5355cb2bf76885.tar.gz
samba-e571c8a8ac1f3385796bbaf65d5355cb2bf76885.tar.bz2
samba-e571c8a8ac1f3385796bbaf65d5355cb2bf76885.zip
r1500: BUG 1516: manually declare ldap_open_with_timeout() to workaround compiler errors on IRIX
(This used to be commit b47971174da9ef882e7941e53033e23c679db9a2)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/includes.h9
1 files changed, 9 insertions, 0 deletions
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. */