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
commit f850de85ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

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