scc

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

commit e377940ca3d8880ef9da63a534c9a580916f2692
parent 52fdd23e2d3b99749320b94c6a89cc181cfb8d5e
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>