summaryrefslogtreecommitdiff
path: root/include/ruby/missing.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ruby/missing.h')
-rw-r--r--include/ruby/missing.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/ruby/missing.h b/include/ruby/missing.h
index 7cb2d9233c4..1a1aa958ac4 100644
--- a/include/ruby/missing.h
+++ b/include/ruby/missing.h
@@ -80,6 +80,10 @@ RUBY_EXTERN int dup2(int, int);
RUBY_EXTERN int eaccess(const char*, int);
#endif
+#ifndef HAVE_ROUND
+RUBY_EXTERN double round(double); /* numeric.c */
+#endif
+
#ifndef HAVE_FINITE
RUBY_EXTERN int finite(double);
#endif