summaryrefslogtreecommitdiffstats
path: root/Python/mystrtoul.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1999-04-07 16:07:23 (GMT)
committerGuido van Rossum <guido@python.org>1999-04-07 16:07:23 (GMT)
commit2571cc8bf50a9e08bc45116ee7f39de78139a6ca (patch)
tree4cd1520c835e29cbde8a0bfc3f281fff7c0e9beb /Python/mystrtoul.c
parent99fb7c70f4e9e399c4cfbfb18f1f04a57fc80b50 (diff)
downloadcpython-2571cc8bf50a9e08bc45116ee7f39de78139a6ca.zip
cpython-2571cc8bf50a9e08bc45116ee7f39de78139a6ca.tar.gz
cpython-2571cc8bf50a9e08bc45116ee7f39de78139a6ca.tar.bz2
Changes by Mark Hammond for Windows CE. Mostly of the form
#ifdef DONT_HAVE_header_H ... #endif around #include <header.h>.
Diffstat (limited to 'Python/mystrtoul.c')
-rw-r--r--Python/mystrtoul.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Python/mystrtoul.c b/Python/mystrtoul.c
index b5ea751..ac70e44 100644
--- a/Python/mystrtoul.c
+++ b/Python/mystrtoul.c
@@ -60,7 +60,9 @@ PERFORMANCE OF THIS SOFTWARE.
*/
#include <ctype.h>
+#ifndef DONT_HAVE_ERRNO_H
#include <errno.h>
+#endif
unsigned long
PyOS_strtoul(str, ptr, base)