aboutsummaryrefslogtreecommitdiff
path: root/wcsmbs/uchar.h
diff options
context:
space:
mode:
Diffstat (limited to 'wcsmbs/uchar.h')
-rw-r--r--wcsmbs/uchar.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/wcsmbs/uchar.h b/wcsmbs/uchar.h
index 44637c3..bb5f3ba 100644
--- a/wcsmbs/uchar.h
+++ b/wcsmbs/uchar.h
@@ -31,6 +31,14 @@
#define __need_mbstate_t
#include <wchar.h>
+#ifndef __mbstate_t_defined
+__BEGIN_NAMESPACE_C99
+/* Public type. */
+typedef __mbstate_t mbstate_t;
+__END_NAMESPACE_C99
+# define __mbstate_t_defined 1
+#endif
+
#ifdef __GNUC__
/* Define the 16-bit and 32-bit character types. Use the information