about summary refs log tree commit diff
path: root/sysdeps/generic/_G_config.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/_G_config.h')
-rw-r--r--sysdeps/generic/_G_config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/generic/_G_config.h b/sysdeps/generic/_G_config.h
index dab0bd4a7e..a152b070c6 100644
--- a/sysdeps/generic/_G_config.h
+++ b/sysdeps/generic/_G_config.h
@@ -20,6 +20,8 @@
 # define _WINT_T
 typedef unsigned int wint_t;
 #endif
+#define __need_mbstate_t
+#include <wchar.h>
 #define _G_size_t	size_t
 typedef struct
 {