From 7f1de832a21df9048041405b6ca624c91fd98e58 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Fri, 27 Aug 1999 20:33:52 +0000 Subject: [PATCH] Tiny patch by Mark Hammond to avoid sys/types.h if we don't have it (for Windows/CE). --- Modules/arraymodule.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Modules/arraymodule.c b/Modules/arraymodule.c index 8bd9a55f749..6b47e0c76ec 100644 --- a/Modules/arraymodule.c +++ b/Modules/arraymodule.c @@ -38,9 +38,11 @@ PERFORMANCE OF THIS SOFTWARE. #ifdef STDC_HEADERS #include -#else +#else /* !STDC_HEADERS */ +#ifndef DONT_HAVE_SYS_TYPES_H #include /* For size_t */ -#endif +#endif /* DONT_HAVE_SYS_TYPES_H */ +#endif /* !STDC_HEADERS */ struct arrayobject; /* Forward */