h_errno fix

This commit is contained in:
Kurt Zeilenga 2003-03-24 04:08:11 +00:00
parent 8d07cd1bf0
commit 6385fdb08f

View file

@ -33,6 +33,13 @@
#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 (unless defined by a macro).
*/
extern int h_errno;
#endif
#ifndef LDAP_R_COMPILE
# undef HAVE_REENTRANT_FUNCTIONS
# undef HAVE_CTIME_R