summaryrefslogtreecommitdiffstats
path: root/Modules/arraymodule.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2000-07-01 01:09:43 (GMT)
committerGuido van Rossum <guido@python.org>2000-07-01 01:09:43 (GMT)
commitdb67739d4f5dc66c8c7659dcd88ada3ef5c818c9 (patch)
treec8acf29a912752329052695a21486ca0233e22dd /Modules/arraymodule.c
parentf12d7a02a02845bfec241d33c480ddad6a82df9e (diff)
downloadcpython-db67739d4f5dc66c8c7659dcd88ada3ef5c818c9.zip
cpython-db67739d4f5dc66c8c7659dcd88ada3ef5c818c9.tar.gz
cpython-db67739d4f5dc66c8c7659dcd88ada3ef5c818c9.tar.bz2
Jack Jansen, Mac patch:
Include limits.h if we have it.
Diffstat (limited to 'Modules/arraymodule.c')
-rw-r--r--Modules/arraymodule.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/arraymodule.c b/Modules/arraymodule.c
index 7bc7e73..595d930 100644
--- a/Modules/arraymodule.c
+++ b/Modules/arraymodule.c
@@ -22,6 +22,9 @@ redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#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 */