mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
ITS#2373 add declaration of h_errno
This commit is contained in:
parent
44be38c0f0
commit
97c2c9c955
1 changed files with 5 additions and 0 deletions
|
|
@ -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 a new issue