From f94802c2991384a1c0ffe8272139fad7073d637e Mon Sep 17 00:00:00 2001 From: Owen Taylor Date: Sun, 5 Aug 2001 12:37:37 +0000 Subject: [PATCH] Include stddef.h so that we use the system's definition of NULL. (#54730) Sun Aug 5 08:25:30 2001 Owen Taylor * glib/gmacros.h: Include stddef.h so that we use the system's definition of NULL. (#54730) --- ChangeLog | 5 +++++ ChangeLog.pre-2-0 | 5 +++++ ChangeLog.pre-2-10 | 5 +++++ ChangeLog.pre-2-12 | 5 +++++ ChangeLog.pre-2-2 | 5 +++++ ChangeLog.pre-2-4 | 5 +++++ ChangeLog.pre-2-6 | 5 +++++ ChangeLog.pre-2-8 | 5 +++++ glib/gmacros.h | 4 ++++ 9 files changed, 44 insertions(+) diff --git a/ChangeLog b/ChangeLog index 58ffb78c..880c11d9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Sun Aug 5 08:25:30 2001 Owen Taylor + + * glib/gmacros.h: Include stddef.h so that we use + the system's definition of NULL. (#54730) + 2001-08-04 Alexander Larsson * win32-fixup.pl: diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index 58ffb78c..880c11d9 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -1,3 +1,8 @@ +Sun Aug 5 08:25:30 2001 Owen Taylor + + * glib/gmacros.h: Include stddef.h so that we use + the system's definition of NULL. (#54730) + 2001-08-04 Alexander Larsson * win32-fixup.pl: diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 58ffb78c..880c11d9 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,8 @@ +Sun Aug 5 08:25:30 2001 Owen Taylor + + * glib/gmacros.h: Include stddef.h so that we use + the system's definition of NULL. (#54730) + 2001-08-04 Alexander Larsson * win32-fixup.pl: diff --git a/ChangeLog.pre-2-12 b/ChangeLog.pre-2-12 index 58ffb78c..880c11d9 100644 --- a/ChangeLog.pre-2-12 +++ b/ChangeLog.pre-2-12 @@ -1,3 +1,8 @@ +Sun Aug 5 08:25:30 2001 Owen Taylor + + * glib/gmacros.h: Include stddef.h so that we use + the system's definition of NULL. (#54730) + 2001-08-04 Alexander Larsson * win32-fixup.pl: diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index 58ffb78c..880c11d9 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,8 @@ +Sun Aug 5 08:25:30 2001 Owen Taylor + + * glib/gmacros.h: Include stddef.h so that we use + the system's definition of NULL. (#54730) + 2001-08-04 Alexander Larsson * win32-fixup.pl: diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 58ffb78c..880c11d9 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,8 @@ +Sun Aug 5 08:25:30 2001 Owen Taylor + + * glib/gmacros.h: Include stddef.h so that we use + the system's definition of NULL. (#54730) + 2001-08-04 Alexander Larsson * win32-fixup.pl: diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 58ffb78c..880c11d9 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,8 @@ +Sun Aug 5 08:25:30 2001 Owen Taylor + + * glib/gmacros.h: Include stddef.h so that we use + the system's definition of NULL. (#54730) + 2001-08-04 Alexander Larsson * win32-fixup.pl: diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 58ffb78c..880c11d9 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,8 @@ +Sun Aug 5 08:25:30 2001 Owen Taylor + + * glib/gmacros.h: Include stddef.h so that we use + the system's definition of NULL. (#54730) + 2001-08-04 Alexander Larsson * win32-fixup.pl: diff --git a/glib/gmacros.h b/glib/gmacros.h index 5f4055c5..eacaa413 100644 --- a/glib/gmacros.h +++ b/glib/gmacros.h @@ -31,6 +31,10 @@ #ifndef __G_MACROS_H__ #define __G_MACROS_H__ +/* We include stddef.h to get the system's definition of NULL + */ +#include + /* Here we provide G_GNUC_EXTENSION as an alias for __extension__, * where this is valid. This allows for warningless compilation of * "long long" types even in the presence of '-ansi -pedantic'. -- 2.34.1