From fc8e62d0df805059eb73cf4c6dd54db0210db084 Mon Sep 17 00:00:00 2001 From: matz Date: Fri, 12 Sep 2003 03:16:31 +0000 Subject: * bignum.c (rb_big_and): convert argument using 'to_int'. * bignum.c (rb_big_or): ditto. * bignum.c (rb_big_xor): ditto. * eval.c (rb_f_require): allow "require" on $SAFE>0, if feature name is not tainted. * lib/rexml/parsers/baseparser.rb (REXML::Parsers::BaseParser::stream): Supports StringIO. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4549 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/socket/extconf.rb | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) (limited to 'ext/socket/extconf.rb') diff --git a/ext/socket/extconf.rb b/ext/socket/extconf.rb index 357025cbbb..e888b2a197 100644 --- a/ext/socket/extconf.rb +++ b/ext/socket/extconf.rb @@ -323,11 +323,20 @@ if $getaddr_info_ok and have_func("getaddrinfo") and have_func("getnameinfo") have_getaddrinfo = true else if try_link(< -#include -#include -#include -#include +#ifndef _WIN32 +# include +# include +# include +# include +# include +#else +# include +# ifdef _WIN32_WCE +# include +# else +# include +# endif +#endif int main() { -- cgit v1.2.3