diff options
Diffstat (limited to 'lib/strtod.c')
-rw-r--r-- | lib/strtod.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/strtod.c b/lib/strtod.c index 2f6b894cf..0d364f238 100644 --- a/lib/strtod.c +++ b/lib/strtod.c @@ -19,6 +19,10 @@ #endif #include <errno.h> +#ifndef errno +extern int errno; +#endif + #include <ctype.h> #include <math.h> @@ -34,7 +38,6 @@ #include <string.h> #else #define NULL 0 -extern int errno; #ifndef HUGE_VAL #define HUGE_VAL HUGE #endif |