diff options
Diffstat (limited to 'include/wctype.h')
-rw-r--r-- | include/wctype.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/wctype.h b/include/wctype.h index 3a5af6e7..ee5be7c6 100644 --- a/include/wctype.h +++ b/include/wctype.h @@ -9,6 +9,11 @@ extern "C" { #define __NEED_wctrans_t #define __NEED_wctype_t +#if defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) \ + || defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) +#define __NEED_locale_t +#endif + #include <bits/alltypes.h> #undef WEOF |