ITS#2373 add declaration of h_errno

This commit is contained in:
Howard Chu 2003-03-14 04:25:39 +00:00
parent 44be38c0f0
commit 97c2c9c955

View File

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