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, 1 insertions, 1 deletions
diff --git a/Python/strtod.c b/Python/strtod.c
index 7911a94..5c084a4 100644
--- a/Python/strtod.c
+++ b/Python/strtod.c
@@ -54,7 +54,7 @@ static double HUGE = 1.7976931348623157e308;
extern double atof(const char *); /* Only called when result known to be ok */
-#ifndef DONT_HAVE_ERRNO_H
+#ifdef HAVE_ERRNO_H
#include <errno.h>
#endif
extern int errno;