summaryrefslogtreecommitdiffstats
path: root/Python/mystrtoul.c
diff options
context:
space:
mode:
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)