diff options
| author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-05-20 04:34:14 +0000 |
|---|---|---|
| committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-05-20 04:34:14 +0000 |
| commit | 39fb0d4c51c26e8c7e061bd885a8106924e6ddc0 (patch) | |
| tree | 10dc48fe45c7714540858394da15340b021d9bf4 /ext/socket/getaddrinfo.c | |
| parent | 6141b9c82be7825f54c71ab0247dce948be0711d (diff) | |
| download | ruby-39fb0d4c51c26e8c7e061bd885a8106924e6ddc0.tar.gz ruby-39fb0d4c51c26e8c7e061bd885a8106924e6ddc0.tar.xz ruby-39fb0d4c51c26e8c7e061bd885a8106924e6ddc0.zip | |
* numeric.c (flo_eq): alway check if operands are NaN.
[ruby-list:39685]
* lib/cgi/session.rb: use LOCK_SH to read, and a few other
improvements. [ruby-core:02328]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/socket/getaddrinfo.c')
| -rw-r--r-- | ext/socket/getaddrinfo.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/socket/getaddrinfo.c b/ext/socket/getaddrinfo.c index c05fbd57b..14bedb2e9 100644 --- a/ext/socket/getaddrinfo.c +++ b/ext/socket/getaddrinfo.c @@ -56,6 +56,9 @@ #endif #include <netdb.h> #if defined(HAVE_RESOLV_H) +#ifdef _SX +#include <stdio.h> +#endif #include <resolv.h> #endif #include <unistd.h> |
