aboutsummaryrefslogtreecommitdiff
path: root/wcsmbs/wchar.h
diff options
context:
space:
mode:
Diffstat (limited to 'wcsmbs/wchar.h')
-rw-r--r--wcsmbs/wchar.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/wcsmbs/wchar.h b/wcsmbs/wchar.h
index 8702931..0fd9e35 100644
--- a/wcsmbs/wchar.h
+++ b/wcsmbs/wchar.h
@@ -839,4 +839,9 @@ __END_DECLS
#endif /* _WCHAR_H defined */
+/* Undefined all __need_* constants in case we are included to get those
+ constants but the whole file was already read. */
+#undef __need_mbstate_t
+#undef __need_wint_t
+
#endif /* wchar.h */