LibC: stdlib.h doesn't seem to typedef wchar_t without __need_wchar_t

This commit is contained in:
Bananymous 2023-06-02 17:27:31 +03:00
parent 5d2a062b36
commit 3fcc7c6768
1 changed files with 5 additions and 1 deletions

View File

@ -7,11 +7,15 @@
__BEGIN_DECLS
#include <stddef.h>
#include <limits.h>
#include <math.h>
#include <sys/wait.h>
#define __need_NULL
#define __need_size_t
#define __need_wchar_t
#include <stddef.h>
#define EXIT_FAILURE 1
#define EXIT_SUCCESS 0