scc

simple C compiler
git clone git://git.2f30.org/scc
Log | Files | Refs | README | LICENSE

commit e01112494a77bdf62e63e5332eb867def79c9326
parent 9ef220998f18f0008df1dd172ec59b8cf6375aec
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Fri, 17 Feb 2017 22:24:36 +0100

[libc] Add stddef in the implementation of setlocale

This header is needed for the definition of NULL

Diffstat:
Mlibc/src/setlocale.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/libc/src/setlocale.c b/libc/src/setlocale.c @@ -1,6 +1,7 @@ /* See LICENSE file for copyright and license details. */ #include <locale.h> +#include <stddef.h> char * setlocale(int category, const char *locale)