commit e4a5cc43d1af9cdda835f29140376d7c3a35fe32
parent 40c0dd60db401444abc61b122fb396af9b0c1114
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date: Sun, 21 Nov 2021 21:37:49 +0100
libc: Include wchar_t definition in wchar.h
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/include/wchar.h b/include/wchar.h
@@ -3,7 +3,8 @@
#define _NEED_NULL
#define _NEED_SIZET
-#define _NEED_WCHAR
+#define _NEED_WCHART
+#include <sys/cdefs.h>
#include <arch/cdefs.h>
/* TODO: This is only a placeholder */