diff --git a/include/stddef.h b/include/stddef.h index feeebc90f784..786c073e5e37 100644 --- a/include/stddef.h +++ b/include/stddef.h @@ -40,6 +40,11 @@ #include +#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