Merge pull request #138 from xclaesse/langinfo

Fix build when langinfo.h is not found
This commit is contained in:
Tim Rühsen
2019-06-03 22:06:14 +02:00
committed by GitHub
+4 -1
View File
@@ -69,8 +69,11 @@ typedef SSIZE_T ssize_t;
#include <errno.h>
#include <limits.h> /* for UINT_MAX */
#ifndef _WIN32
#ifdef HAVE_NL_LANGINFO
# include <langinfo.h>
#endif
#ifndef _WIN32
# include <arpa/inet.h>
#endif