From e6f0f891a641b5ab13ca6b56d0e16efa52e8220f Mon Sep 17 00:00:00 2001 From: Bananymous Date: Fri, 2 Jun 2023 17:27:31 +0300 Subject: [PATCH] LibC: stdlib.h doesn't seem to typedef wchar_t without __need_wchar_t --- libc/include/stdlib.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/libc/include/stdlib.h b/libc/include/stdlib.h index b2d6702d..8a5956cc 100644 --- a/libc/include/stdlib.h +++ b/libc/include/stdlib.h @@ -7,11 +7,15 @@ __BEGIN_DECLS -#include #include #include #include +#define __need_NULL +#define __need_size_t +#define __need_wchar_t +#include + #define EXIT_FAILURE 1 #define EXIT_SUCCESS 0