shithub: scc

Download patch

ref: c7bfc2a9a69e9ac1953704608df3121081ef72db
parent: 060bf3254fd3df2f037225dcd9074fba8e5671a5
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Fri Feb 17 17:24:36 EST 2017

[libc] Add stddef in the implementation of setlocale

This header is needed for the definition of NULL

--- 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)