# HG changeset patch # User Eli Zaretskii # Date 1144514629 0 # Node ID 272487a77b8e1f35fe5f3f6792efeee53f470c67 # Parent 385bc608c677fcf880a15a44ca98dfd3ade347be [STDC_HEADERS]: Include stddef.h. diff -r 385bc608c677 -r 272487a77b8e src/alloc.c --- 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 #include /* For CHAR_BIT. */ +#ifdef STDC_HEADERS +#include /* For offsetof, used by PSEUDOVECSIZE. */ +#endif + #ifdef ALLOC_DEBUG #undef INLINE #endif