Skip to content
Snippets Groups Projects
Commit c34c42de authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

just in case <netdb.h> does something like

#define h_errno (* __h_errno())
parent 97c2c9c9
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment