mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-03-07 14:18:15 +08:00
ITS#2373 add declaration of h_errno
This commit is contained in:
parent
44be38c0f0
commit
97c2c9c955
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user