summaryrefslogtreecommitdiffstats
path: root/Python/strtod.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/strtod.c')
-rw-r--r--Python/strtod.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Python/strtod.c b/Python/strtod.c
index 1c475e5..a0991d5 100644
--- a/Python/strtod.c
+++ b/Python/strtod.c
@@ -54,7 +54,9 @@ static double HUGE = 1.7976931348623157e308;
extern double atof(); /* Only called when result known to be ok */
+#ifndef DONT_HAVE_ERRNO_H
#include <errno.h>
+#endif
extern int errno;
double strtod(str, ptr)