diff Modules/arraymodule.c @ 13268:83377fc298d8 legacy-trunk

Jack Jansen, Mac patch: Include limits.h if we have it.
author Guido van Rossum <guido@python.org>
date Sat, 01 Jul 2000 01:09:43 +0000
parents 84879ab71b9f
children a89f7f268de4
line wrap: on
line diff
--- a/Modules/arraymodule.c	Sat Jul 01 01:08:11 2000 +0000
+++ b/Modules/arraymodule.c	Sat Jul 01 01:09:43 2000 +0000
@@ -22,6 +22,9 @@
 #include <sys/types.h>		/* For size_t */
 #endif /* DONT_HAVE_SYS_TYPES_H */
 #endif /* !STDC_HEADERS */
+#ifdef HAVE_LIMITS_H
+#include <limits.h>
+#endif /* HAVE_LIMITS_H */
 
 struct arrayobject; /* Forward */