just in case <netdb.h> does something like

#define h_errno (* __h_errno())
This commit is contained in:
Kurt Zeilenga 2003-03-14 04:56:08 +00:00
parent 97c2c9c955
commit c34c42dec3

View file

@ -33,10 +33,12 @@
#include "ldap-int.h"
#ifndef h_errno
/* newer systems declare this in <netdb.h> 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