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>
This commit is contained in:
Yaakov Selkowitz
2017-03-21 15:21:30 -05:00
committed by Corinna Vinschen
parent ffbfb332d6
commit 90e35b1eb3
12 changed files with 18 additions and 13 deletions

View File

@@ -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