mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-18 18:18:06 -05:00
h_errno fix
This commit is contained in:
parent
8d07cd1bf0
commit
6385fdb08f
1 changed files with 7 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue