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:
committed by
Corinna Vinschen
parent
ffbfb332d6
commit
90e35b1eb3
@@ -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
|
||||
|
Reference in New Issue
Block a user