[hackers] [scc] [libc] Add stddef in the implementation of setlocale || Roberto E. Vargas Caballero

From: <git_AT_suckless.org>
Date: Fri, 17 Feb 2017 22:25:14 +0100 (CET)

commit e01112494a77bdf62e63e5332eb867def79c9326
Author: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
AuthorDate: Fri Feb 17 22:24:36 2017 +0100
Commit: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
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
_AT_@ -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)
Received on Fri Feb 17 2017 - 22:25:14 CET

This archive was generated by hypermail 2.3.0 : Fri Feb 17 2017 - 22:36:17 CET