summaryrefslogtreecommitdiffstats
path: root/Python/compile.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/compile.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/compile.c')
-rw-r--r--Python/compile.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/Python/compile.c b/Python/compile.c
index d713c7e..ce7c0e4 100644
--- a/Python/compile.c
+++ b/Python/compile.c
@@ -33,6 +33,9 @@ redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#include "structmember.h"
#include <ctype.h>
+#ifdef HAVE_LIMITS_H
+#include <limits.h>
+#endif
/* Three symbols from graminit.h are also defined in Python.h, with
Py_ prefixes to their names. Python.h can't include graminit.h