summaryrefslogtreecommitdiffstats
path: root/newlib/libc
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc')
-rw-r--r--newlib/libc/include/wchar.h4
1 files changed, 4 insertions, 0 deletions
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 <sys/features.h>
+#if __XSI_VISIBLE /* && __XSI_VISIBLE < 800 */
+#include <wctype.h>
+#endif
+
#ifndef WEOF
# define WEOF ((wint_t)-1)
#endif