From: Kurt Zeilenga Date: Fri, 14 Mar 2003 04:56:08 +0000 (+0000) Subject: just in case does something like X-Git-Tag: NO_SLAP_OP_BLOCKS~115 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c34c42dec373e41065e753fcc3b13f3621ce835f;p=openldap just in case does something like #define h_errno (* __h_errno()) --- diff --git a/libraries/libldap/util-int.c b/libraries/libldap/util-int.c index 57a2464af8..962db37b48 100644 --- a/libraries/libldap/util-int.c +++ b/libraries/libldap/util-int.c @@ -33,10 +33,12 @@ #include "ldap-int.h" +#ifndef h_errno /* newer systems declare this in for you, older ones don't. - * harmless to declare it again. + * harmless to declare it again (unless defined by a macro). */ extern int h_errno; +#endif #ifndef LDAP_R_COMPILE # undef HAVE_REENTRANT_FUNCTIONS