about summary refs log tree commit diff
path: root/malloc
diff options
context:
space:
mode:
Diffstat (limited to 'malloc')
-rw-r--r--malloc/obstack.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/malloc/obstack.c b/malloc/obstack.c
index 2e50397150..e5c0c40de4 100644
--- a/malloc/obstack.c
+++ b/malloc/obstack.c
@@ -46,6 +46,9 @@
 #endif
 #endif
 
+#if defined _LIBC && defined USE_IN_LIBIO
+# include <wchar.h>
+#endif
 
 #ifndef ELIDE_CODE