summaryrefslogtreecommitdiff
path: root/object.c
diff options
context:
space:
mode:
Diffstat (limited to 'object.c')
-rw-r--r--object.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/object.c b/object.c
index 99b8767895..b5de7ca8bd 100644
--- a/object.c
+++ b/object.c
@@ -14,6 +14,7 @@
#include "ruby.h"
#include "st.h"
+#include "util.h"
#include <stdio.h>
#include <errno.h>
#include <ctype.h>
@@ -990,7 +991,7 @@ rb_cstr_to_dbl(p, badcheck)
d = strtod(p, &end);
if (p == end) {
if (badcheck) {
- bad:
+ bad:
rb_invalid_str(q, "Float()");
}
return d;