From: Howard Chu Date: Fri, 14 Mar 2003 04:25:39 +0000 (+0000) Subject: ITS#2373 add declaration of h_errno X-Git-Tag: NO_SLAP_OP_BLOCKS~116 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=97c2c9c955e0b53e39c9b97d710ea0582fcf56a5;p=openldap ITS#2373 add declaration of h_errno --- diff --git a/libraries/libldap/util-int.c b/libraries/libldap/util-int.c index 23bf1d194c..57a2464af8 100644 --- a/libraries/libldap/util-int.c +++ b/libraries/libldap/util-int.c @@ -33,6 +33,11 @@ #include "ldap-int.h" +/* newer systems declare this in for you, older ones don't. + * harmless to declare it again. + */ +extern int h_errno; + #ifndef LDAP_R_COMPILE # undef HAVE_REENTRANT_FUNCTIONS # undef HAVE_CTIME_R