POSIX says <locale.h> makes NULL visible.

http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/locale.h.html

Change-Id: I81a600153738dff6ce3d9cde95c787b71d81a368
This commit is contained in:
Elliott Hughes 2016-08-12 10:28:08 -07:00
parent 166f875eab
commit c5537889f5

View file

@ -32,6 +32,9 @@
#include <sys/cdefs.h>
#include <xlocale.h>
#define __need_NULL
#include <stddef.h>
__BEGIN_DECLS
#define LC_CTYPE 0