diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1999-06-24 04:24:09 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1999-06-24 04:24:09 +0000 |
commit | 031d2e84df58ed54948671931544c41cf32da1ca (patch) | |
tree | 1118362b178f55bf14d142752b8d61976191b991 /missing/isinf.c | |
parent | 37bcc42c983987ec504efd9556f0cb884f0b424d (diff) |
990624
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_3@490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'missing/isinf.c')
-rw-r--r-- | missing/isinf.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/missing/isinf.c b/missing/isinf.c index 0297efdfd4..992ca57f67 100644 --- a/missing/isinf.c +++ b/missing/isinf.c @@ -1,3 +1,9 @@ +#ifdef HAVE_STRING_H +# include <string.h> +#else +# include <strings.h> +#endif + static double zero() { return 0.0; } static double one() { return 1.0; } static double inf() { return one() / zero(); } |