Merge pull request #138 from xclaesse/langinfo
Fix build when langinfo.h is not found
This commit is contained in:
commit
f850de85ab
|
@ -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