mirror of
https://github.com/json-c/json-c.git
synced 2026-03-30 10:29:06 +08:00
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:
@@ -11,6 +11,9 @@
|
||||
#ifdef HAVE_LOCALE_H
|
||||
#include <locale.h>
|
||||
#endif /* HAVE_LOCALE_H */
|
||||
#ifdef HAVE_XLOCALE_H
|
||||
#include <xlocale.h>
|
||||
#endif
|
||||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user