From: Danny Smith Date: Fri, 7 Feb 2003 02:13:55 +0000 (+0000) Subject: * include/locale.h: Include stddef.h for definition of NULL. X-Git-Tag: mingw-runtime-2_4~15 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=500ed83f45841d94552323b6b5dfb32ed7021db1;p=newlib-cygwin.git * include/locale.h: Include stddef.h for definition of NULL. --- diff --git a/winsup/mingw/ChangeLog b/winsup/mingw/ChangeLog index c180100ad..5995308c2 100644 --- a/winsup/mingw/ChangeLog +++ b/winsup/mingw/ChangeLog @@ -1,3 +1,7 @@ +2003-02-07 Danny Smith + + * include/locale.h: Include stddef.h for definition of NULL. + 2003-01-26 Danny Smith * include/math.h (tgamma): Correct typo in comment. diff --git a/winsup/mingw/include/locale.h b/winsup/mingw/include/locale.h index 06db31a3d..16fb6119a 100644 --- a/winsup/mingw/include/locale.h +++ b/winsup/mingw/include/locale.h @@ -51,6 +51,10 @@ #ifndef RC_INVOKED +/* According to C89 std, NULL is defined in locale.h too. */ +#define __need_NULL +#include + /* * The structure returned by 'localeconv'. */