diff --git a/include/stddef.h b/include/stddef.h index 334267f457..a25ac8beb7 100644 --- a/include/stddef.h +++ b/include/stddef.h @@ -11,6 +11,10 @@ typedef __PTRDIFF_TYPE__ ptrdiff_t; typedef long unsigned int size_t; +#ifndef __cplusplus +typedef int wchar_t; +#endif + typedef struct { long long __ll; long double __ld; } max_align_t; #define offsetof(type, member) __builtin_offsetof(type, member)