scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | Submodules | README | LICENSE

commit ee56849c612b6cb6ee27e6f647254967ebdd6981
parent 91893c5a55f3882dad1d8b7c892da204d10cfa91
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Fri,  1 Oct 2021 18:06:46 +0200

libc: Add wchar_t to stddef

Stddef.h was not including wchar_t because it didn't assert
the _NEED* macro needed for it.

Diffstat:
Minclude/stddef.h | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git 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>