changeset 69876:272487a77b8e

[STDC_HEADERS]: Include stddef.h.
author Eli Zaretskii <eliz@gnu.org>
date Sat, 08 Apr 2006 16:43:49 +0000
parents 385bc608c677
children f1f3d4580813
files src/alloc.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/alloc.c	Sat Apr 08 16:37:46 2006 +0000
+++ b/src/alloc.c	Sat Apr 08 16:43:49 2006 +0000
@@ -23,6 +23,10 @@
 #include <stdio.h>
 #include <limits.h>		/* For CHAR_BIT.  */
 
+#ifdef STDC_HEADERS
+#include <stddef.h>		/* For offsetof, used by PSEUDOVECSIZE. */
+#endif
+
 #ifdef ALLOC_DEBUG
 #undef INLINE
 #endif