summaryrefslogtreecommitdiff
path: root/Python/codecs.c
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2000-07-03 21:39:47 +0000
committerJack Jansen <jack.jansen@cwi.nl>2000-07-03 21:39:47 +0000
commitcf3c9b2886cdec2452d68952b9f38d6209585ce5 (patch)
treebecc21d405939098696c8e382a34bd8891bd4cbb /Python/codecs.c
parent983f12a9100c71be1ed32fe1e5df182ef942c4f7 (diff)
downloadcpython-cf3c9b2886cdec2452d68952b9f38d6209585ce5.tar.gz
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 20df522350..27331ab66b 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 ------------------------------------------------------------ */