diff --git a/libc/include/wchar.h b/libc/include/wchar.h index 0bcd8c1e..e38a1039 100644 --- a/libc/include/wchar.h +++ b/libc/include/wchar.h @@ -29,6 +29,8 @@ #include +#include + #if defined(__is_sortix_libc) #include #endif @@ -60,16 +62,6 @@ typedef int __locale_t; typedef __locale_t locale_t; #endif -#ifndef __valist_defined -#define __valist_defined -#define va_start(v,l) __builtin_va_start(v,l) -#define va_arg(v,l) __builtin_va_arg(v,l) -#define va_end(v) __builtin_va_end(v) -#define va_copy(d,s) __builtin_va_copy(d,s) -typedef __builtin_va_list __gnuc_va_list; -typedef __gnuc_va_list va_list; -#endif - #ifndef __wchar_t_defined #define __wchar_t_defined #define __need_wchar_t