diff options
author | Danny Smith <dannysmith@users.sourceforge.net> | 2003-02-07 05:13:55 +0300 |
---|---|---|
committer | Danny Smith <dannysmith@users.sourceforge.net> | 2003-02-07 05:13:55 +0300 |
commit | 500ed83f45841d94552323b6b5dfb32ed7021db1 (patch) | |
tree | 982e577e3779b142e81ff0a6dbcacb9389285284 /winsup/mingw | |
parent | 5a5996f93ecb967c13693d192bc1cd7df3cc330d (diff) |
* include/locale.h: Include stddef.h for definition of NULL.
Diffstat (limited to 'winsup/mingw')
-rw-r--r-- | winsup/mingw/ChangeLog | 4 | ||||
-rw-r--r-- | winsup/mingw/include/locale.h | 4 |
2 files changed, 8 insertions, 0 deletions
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 <dannysmith@users.sourceforge.net> + + * include/locale.h: Include stddef.h for definition of NULL. + 2003-01-26 Danny Smith <dannysmith@users.sourceforge.net> * 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 <stddef.h> + /* * The structure returned by 'localeconv'. */ |