diff options
Diffstat (limited to 'newlib/libc/include/string.h')
-rw-r--r-- | newlib/libc/include/string.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/newlib/libc/include/string.h b/newlib/libc/include/string.h index 549d51184..8f4fd2e20 100644 --- a/newlib/libc/include/string.h +++ b/newlib/libc/include/string.h @@ -16,9 +16,8 @@ #define __need_NULL #include <stddef.h> -#if __POSIX_VISIBLE >= 200809 || defined (_COMPILING_NEWLIB) -struct __locale_t; -typedef struct __locale_t *locale_t; +#if __POSIX_VISIBLE >= 200809 +#include <sys/_locale.h> #endif _BEGIN_STD_C |