commit e01112494a77bdf62e63e5332eb867def79c9326
Author:     Roberto E. Vargas Caballero <[email protected]>
AuthorDate: Fri Feb 17 22:24:36 2017 +0100
Commit:     Roberto E. Vargas Caballero <[email protected]>
CommitDate: Fri Feb 17 22:24:36 2017 +0100

    [libc] Add stddef in the implementation of setlocale
    
    This header is needed for the definition of NULL

diff --git a/libc/src/setlocale.c b/libc/src/setlocale.c
index 09fd5d4..1cf0e60 100644
--- 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)

Reply via email to