mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-19 13:23:44 -05:00
just in case <netdb.h> does something like
#define h_errno (* __h_errno())
This commit is contained in:
parent
97c2c9c955
commit
c34c42dec3
1 changed files with 3 additions and 1 deletions
|
|
@ -33,10 +33,12 @@
|
|||
|
||||
#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.
|
||||
* harmless to declare it again (unless defined by a macro).
|
||||
*/
|
||||
extern int h_errno;
|
||||
#endif
|
||||
|
||||
#ifndef LDAP_R_COMPILE
|
||||
# undef HAVE_REENTRANT_FUNCTIONS
|
||||
|
|
|
|||
Loading…
Reference in a new issue