summaryrefslogtreecommitdiffstats
path: root/Python/codecs.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/codecs.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/codecs.c')
-rw-r--r--Python/codecs.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/Python/codecs.c b/Python/codecs.c
index 20df522..27331ab 100644
--- a/Python/codecs.c
+++ b/Python/codecs.c
@@ -10,6 +10,9 @@ Written by Marc-Andre Lemburg (mal@lemburg.com).
#include "Python.h"
#include <ctype.h>
+#ifdef HAVE_LIMITS_H
+#include <limits.h>
+#endif
/* --- Globals ------------------------------------------------------------ */