commit | c5537889f5496fd303b8326a7c1e34c95a7ea290 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Fri Aug 12 10:28:08 2016 -0700 |
committer | Elliott Hughes <enh@google.com> | Fri Aug 12 10:28:08 2016 -0700 |
tree | 7e3dc4d0471137a81c71c5e6b532c91cda88a002 | |
parent | 166f875eabdd2b7c508fc4ed1789a0d37fb1bdce [diff] [blame] |
POSIX says <locale.h> makes NULL visible. http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/locale.h.html Change-Id: I81a600153738dff6ce3d9cde95c787b71d81a368
diff --git a/libc/include/locale.h b/libc/include/locale.h index a8f03bc..a681a17 100644 --- a/libc/include/locale.h +++ b/libc/include/locale.h
@@ -32,6 +32,9 @@ #include <sys/cdefs.h> #include <xlocale.h> +#define __need_NULL +#include <stddef.h> + __BEGIN_DECLS #define LC_CTYPE 0