diff --git a/src/string.c b/src/string.c index f9d0791bd..4af8503b9 100644 --- a/src/string.c +++ b/src/string.c @@ -5,6 +5,7 @@ */ #include +#include #include #include #include @@ -2156,9 +2157,6 @@ mrb_cstr_to_dbl(mrb_state *mrb, const char * p, mrb_bool badcheck) { char *end; double d; -#if !defined(DBL_DIG) -# define DBL_DIG 16 -#endif enum {max_width = 20}; #define OutOfRange() (((w = end - p) > max_width) ? \