summaryrefslogtreecommitdiffstats
path: root/include/stddef.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/stddef.h')
-rw-r--r--include/stddef.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/stddef.h b/include/stddef.h
index feeebc9..786c073 100644
--- a/include/stddef.h
+++ b/include/stddef.h
@@ -40,6 +40,11 @@
#include <machine/ansi.h>
+#ifdef _BSD_MBSTATE_T_
+typedef _BSD_MBSTATE_T_ mbstate_t;
+#undef _BSD_MBSTATE_T_
+#endif
+
typedef _BSD_PTRDIFF_T_ ptrdiff_t;
#if !defined(_ANSI_SOURCE) && !defined(_POSIX_SOURCE)
@@ -59,6 +64,11 @@ typedef _BSD_WCHAR_T_ wchar_t;
#undef _BSD_WCHAR_T_
#endif
+#ifdef _BSD_WINT_T_
+typedef _BSD_WINT_T_ wint_t;
+#undef _BSD_WINT_T_
+#endif
+
#ifndef NULL
#define NULL 0
#endif
OpenPOWER on IntegriCloud