Issue #246: Include xlocale.h too, to get locale_t defined, since not all OSes include that in locale.h

This commit is contained in:
Eric Haszlakiewicz committed 2016-08-02 22:25:05 -04:00
1 parent fa76e4a8c9
commit 9688f343a5
3 files changed
+7 -1

No files matched your search

+3
View File
@@ -35,6 +35,9 @@
#ifdef HAVE_LOCALE_H
#include <locale.h>
#endif /* HAVE_LOCALE_H */
#ifdef HAVE_XLOCALE_H
#include <xlocale.h>
#endif
#define jt_hexdigit(x) (((x) <= '9') ? (x) - '0' : ((x) & 7) + 9)