From: Eli Zaretskii Date: Sat, 8 Apr 2006 16:44:27 +0000 (+0000) Subject: [STDC_HEADERS]: Include stddef.h. X-Git-Tag: emacs-pretest-22.0.90~3265 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4f27350a997be22c2f2efbfbbcc201233ca2067e;p=emacs.git [STDC_HEADERS]: Include stddef.h. --- diff --git a/src/ChangeLog b/src/ChangeLog index 2c55dc037f8..92410490141 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,7 @@ 2006-04-08 Eli Zaretskii + * alloc.c [STDC_HEADERS]: Include stddef.h. + * lisp.h (PSEUDOVECSIZE): Fix last change. 2006-04-08 Stefan Monnier diff --git a/src/alloc.c b/src/alloc.c index 5b42a0016a8..1d3dc10c411 100644 --- a/src/alloc.c +++ b/src/alloc.c @@ -23,6 +23,10 @@ Boston, MA 02110-1301, USA. */ #include #include /* For CHAR_BIT. */ +#ifdef STDC_HEADERS +#include /* For offsetof, used by PSEUDOVECSIZE. */ +#endif + #ifdef ALLOC_DEBUG #undef INLINE #endif