diff --git a/ChangeLog b/ChangeLog index 58ffb78c7..880c11d91 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 58ffb78c7..880c11d91 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 58ffb78c7..880c11d91 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 58ffb78c7..880c11d91 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 58ffb78c7..880c11d91 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 58ffb78c7..880c11d91 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 58ffb78c7..880c11d91 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 58ffb78c7..880c11d91 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 5f4055c5b..eacaa413a 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'.