Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowi@redhat.com>2017-03-21 23:21:30 +0300
committerCorinna Vinschen <corinna@vinschen.de>2017-03-22 12:03:45 +0300
commit90e35b1eb3df4070e68afc5e7060665214d586be (patch)
treecd53ed814b557915ae7f26dabff65221980dfe84 /newlib/libc/include/langinfo.h
parentffbfb332d628f97e3094dacecf3c42f8de07cd1f (diff)
Rename <sys/_locale.h> to <xlocale.h>
The locale_t type is provided by <xlocale.h> on Linux, FreeBSD, and Darwin. While, like on some of those systems, it is automatically included by <locale.h> with the proper feature test macros, its presence under this particular name is still presumed in real-world software. Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
Diffstat (limited to 'newlib/libc/include/langinfo.h')
-rw-r--r--newlib/libc/include/langinfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/include/langinfo.h b/newlib/libc/include/langinfo.h
index 193cce348..59381d6b6 100644
--- a/newlib/libc/include/langinfo.h
+++ b/newlib/libc/include/langinfo.h
@@ -33,7 +33,7 @@
#include <sys/config.h>
#include <sys/cdefs.h>
#if __POSIX_VISIBLE >= 200809
-#include <sys/_locale.h>
+#include <xlocale.h>
#endif
typedef int nl_item;