summaryrefslogtreecommitdiff
path: root/rational.c
diff options
context:
space:
mode:
authormame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-07-02 16:24:11 +0000
committermame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-07-02 16:24:11 +0000
commit104e841390f81471841387fff1c30f8cec8924e4 (patch)
treee8c566c56237f760b102524466219b1ac48159d1 /rational.c
parentac6fd9384d05d20d2acbda789e06335468589c6d (diff)
downloadbundler-104e841390f81471841387fff1c30f8cec8924e4.tar.gz
* sprintf.c: include ieeefp.h to refer isinf.
* ext/bigdecimal/bigdecimal.c: ditto. * ext/json/ext/generator/generator.c: ditto. * rational.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17824 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'rational.c')
-rw-r--r--rational.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/rational.c b/rational.c
index c81b89a4a7..48ed7eae17 100644
--- a/rational.c
+++ b/rational.c
@@ -12,6 +12,10 @@
#define NDEBUG
#include <assert.h>
+#ifdef HAVE_IEEEFP_H
+#include <ieeefp.h>
+#endif
+
#ifndef RATIONAL_NAME
#define RATIONAL_NAME "Rational"
#endif