Fix build when langinfo.h is not found
This commit is contained in:
parent
867872e80d
commit
93e3bb3e29
|
@ -69,8 +69,11 @@ typedef SSIZE_T ssize_t;
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <limits.h> /* for UINT_MAX */
|
#include <limits.h> /* for UINT_MAX */
|
||||||
|
|
||||||
#ifndef _WIN32
|
#ifdef HAVE_NL_LANGINFO
|
||||||
# include <langinfo.h>
|
# include <langinfo.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef _WIN32
|
||||||
# include <arpa/inet.h>
|
# include <arpa/inet.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue