shithub: scc

Download patch

ref: e4a5cc43d1af9cdda835f29140376d7c3a35fe32
parent: 40c0dd60db401444abc61b122fb396af9b0c1114
author: Roberto E. Vargas Caballero <[email protected]>
date: Sun Nov 21 16:37:49 EST 2021

libc: Include wchar_t definition in wchar.h

--- 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 */