commit 865668e1c219ec70c83c6e256ea985ec2550f3c4
parent ce493d4762b0e907166910d53ffdd14dabb90cb8
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 */