ref: ee56849c612b6cb6ee27e6f647254967ebdd6981
parent: 91893c5a55f3882dad1d8b7c892da204d10cfa91
author: Roberto E. Vargas Caballero <[email protected]>
date: Fri Oct 1 14:06:46 EDT 2021
libc: Add wchar_t to stddef Stddef.h was not including wchar_t because it didn't assert the _NEED* macro needed for it.
--- a/include/stddef.h
+++ b/include/stddef.h
@@ -4,6 +4,7 @@
#define _NEED_SIZET
#define _NEED_PTRDIFFT
#define _NEED_NULL
+#define _NEED_WCHART
#include <sys/cdefs.h>
#include <arch/cdefs.h>