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 cfa430d5d59..0384b995e30 100644
--- a/include/ruby/missing.h
+++ b/include/ruby/missing.h
@@ -87,6 +87,10 @@ extern double tgamma(double);
extern double lgamma_r(double, int *);
#endif
+#ifndef HAVE_CBRT
+extern double cbrt(double);
+#endif
+
#ifndef isinf
# ifndef HAVE_ISINF
# if defined(HAVE_FINITE) && defined(HAVE_ISNAN)