summaryrefslogtreecommitdiffstats
path: root/Python/modsupport.c
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2000-07-03 21:39:47 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2000-07-03 21:39:47 (GMT)
commit41aa8e523d1f81dc4b4d529dd01c59aef350eada (patch)
tree41635a05a45a6d8cfbe240570bd8f88fa341dcc1 /Python/modsupport.c
parentee398fa058555d3229e48c323247f60f6f560313 (diff)
downloadcpython-41aa8e523d1f81dc4b4d529dd01c59aef350eada.zip
cpython-41aa8e523d1f81dc4b4d529dd01c59aef350eada.tar.gz
cpython-41aa8e523d1f81dc4b4d529dd01c59aef350eada.tar.bz2
Include limits.h if we have it.
Diffstat (limited to 'Python/modsupport.c')
-rw-r--r--Python/modsupport.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/Python/modsupport.c b/Python/modsupport.c
index 4a206a1..afecc0e 100644
--- a/Python/modsupport.c
+++ b/Python/modsupport.c
@@ -11,6 +11,9 @@ redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
/* Module support implementation */
#include "Python.h"
+#ifdef HAVE_LIMITS_H
+#include <limits.h>
+#endif
#ifdef MPW /* MPW pushes 'extended' for float and double types with varargs */
typedef extended va_double;