Fix build when langinfo.h is not found

This commit is contained in:
Xavier Claessens 2019-06-03 15:52:48 -04:00
parent 867872e80d
commit 93e3bb3e29
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