summaryrefslogtreecommitdiff
path: root/Modules/arraymodule.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2000-07-01 01:09:43 +0000
committerGuido van Rossum <guido@python.org>2000-07-01 01:09:43 +0000
commit0fb1acb32a72586725f0fd5154ba99cbf91b70d2 (patch)
tree8a778af4ceaab7e35f781b5d507e71c206bb7afe /Modules/arraymodule.c
parentd4c3b0a23e7935b4657fada35cb221d65bf70e39 (diff)
downloadcpython-0fb1acb32a72586725f0fd5154ba99cbf91b70d2.tar.gz
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 7bc7e738bd..595d930f0d 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 */