summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowi@redhat.com>2017-03-21 15:21:30 -0500
committerCorinna Vinschen <corinna@vinschen.de>2017-03-22 10:03:45 +0100
commit90e35b1eb3df4070e68afc5e7060665214d586be (patch)
treecd53ed814b557915ae7f26dabff65221980dfe84 /winsup/cygwin
parentffbfb332d628f97e3094dacecf3c42f8de07cd1f (diff)
downloadcygnal-90e35b1eb3df4070e68afc5e7060665214d586be.tar.gz
cygnal-90e35b1eb3df4070e68afc5e7060665214d586be.tar.bz2
cygnal-90e35b1eb3df4070e68afc5e7060665214d586be.zip
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 'winsup/cygwin')
-rw-r--r--winsup/cygwin/include/monetary.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/include/monetary.h b/winsup/cygwin/include/monetary.h
index 1c3479bd8..82a6312bf 100644
--- a/winsup/cygwin/include/monetary.h
+++ b/winsup/cygwin/include/monetary.h
@@ -32,7 +32,7 @@
#include <sys/cdefs.h>
#include <sys/types.h>
#if __POSIX_VISIBLE >= 200809
-#include <sys/_locale.h>
+#include <xlocale.h>
#endif
__BEGIN_DECLS