summaryrefslogtreecommitdiff
path: root/include/ruby
diff options
context:
space:
mode:
Diffstat (limited to 'include/ruby')
-rw-r--r--include/ruby/missing.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/ruby/missing.h b/include/ruby/missing.h
index da38a3ef5d..cfa430d5d5 100644
--- a/include/ruby/missing.h
+++ b/include/ruby/missing.h
@@ -79,6 +79,14 @@ extern double erf(double);
extern double erfc(double);
#endif
+#ifndef HAVE_TGAMMA
+extern double tgamma(double);
+#endif
+
+#ifndef HAVE_LGAMMA_R
+extern double lgamma_r(double, int *);
+#endif
+
#ifndef isinf
# ifndef HAVE_ISINF
# if defined(HAVE_FINITE) && defined(HAVE_ISNAN)