diff options
author | Yaakov Selkowitz <yselkowi@redhat.com> | 2017-03-21 15:21:30 -0500 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2017-03-22 10:03:45 +0100 |
commit | 90e35b1eb3df4070e68afc5e7060665214d586be (patch) | |
tree | cd53ed814b557915ae7f26dabff65221980dfe84 /newlib/libc/include/strings.h | |
parent | ffbfb332d628f97e3094dacecf3c42f8de07cd1f (diff) | |
download | newlib-90e35b1eb3df4070e68afc5e7060665214d586be.zip newlib-90e35b1eb3df4070e68afc5e7060665214d586be.tar.gz newlib-90e35b1eb3df4070e68afc5e7060665214d586be.tar.bz2 |
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/strings.h')
-rw-r--r-- | newlib/libc/include/strings.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/include/strings.h b/newlib/libc/include/strings.h index be01958..3331611 100644 --- a/newlib/libc/include/strings.h +++ b/newlib/libc/include/strings.h @@ -16,7 +16,7 @@ #include <sys/types.h> /* for size_t */ #if __POSIX_VISIBLE >= 200809 -#include <sys/_locale.h> +#include <xlocale.h> #endif _BEGIN_STD_C |