diff --git a/newlib/libc/include/wchar.h b/newlib/libc/include/wchar.h index d5fc26f07..e5b840dbe 100644 --- a/newlib/libc/include/wchar.h +++ b/newlib/libc/include/wchar.h @@ -20,6 +20,10 @@ /* For __STDC_ISO_10646__ */ #include +#if __XSI_VISIBLE /* && __XSI_VISIBLE < 800 */ +#include +#endif + #ifndef WEOF # define WEOF ((wint_t)-1) #endif