summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-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 cfa430d5d5..0384b995e3 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)