summaryrefslogtreecommitdiff
path: root/include/ruby/missing.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-06-16 00:12:55 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-06-16 00:12:55 +0000
commit685444569cb747b399e0ab087e5876fad08a71bb (patch)
treed17ed2397c1e4bdfb18c4439c4369f0ef61b5e6e /include/ruby/missing.h
parentef38cb7a05e1b45b074959f12999136518cadcbd (diff)
* fix for build on solaris 10.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32113 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include/ruby/missing.h')
-rw-r--r--include/ruby/missing.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/ruby/missing.h b/include/ruby/missing.h
index ac0a5c9dc0a..067145a156d 100644
--- a/include/ruby/missing.h
+++ b/include/ruby/missing.h
@@ -138,6 +138,9 @@ RUBY_EXTERN const unsigned char rb_nan[];
#ifndef isinf
# ifndef HAVE_ISINF
# if defined(HAVE_FINITE) && defined(HAVE_ISNAN)
+# ifdef HAVE_IEEEFP_H
+# include <ieeefp.h>
+# endif
# define isinf(x) (!finite(x) && !isnan(x))
# else
RUBY_EXTERN int isinf(double);