summaryrefslogtreecommitdiffstats
path: root/Modules/arraymodule.c
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/arraymodule.c')
-rw-r--r--Modules/arraymodule.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/Modules/arraymodule.c b/Modules/arraymodule.c
index 8bd9a55..6b47e0c 100644
--- a/Modules/arraymodule.c
+++ b/Modules/arraymodule.c
@@ -38,9 +38,11 @@ PERFORMANCE OF THIS SOFTWARE.
#ifdef STDC_HEADERS
#include <stddef.h>
-#else
+#else /* !STDC_HEADERS */
+#ifndef DONT_HAVE_SYS_TYPES_H
#include <sys/types.h> /* For size_t */
-#endif
+#endif /* DONT_HAVE_SYS_TYPES_H */
+#endif /* !STDC_HEADERS */
struct arrayobject; /* Forward */