From 87025fdd4345f48821236ff19090976bfc11a2bd Mon Sep 17 00:00:00 2001 From: matz Date: Wed, 15 Oct 2003 02:27:56 +0000 Subject: * marshal.c (w_object): dump extended modules as well. * marshal.c (r_object0): TYPE_USRMARSHAL should restore extended modules before invoking marshal_load. these two fixes are done by Masatoshi Seki . * parse.y (yylex): argument parentheses preceded by spaces should be warned; not error. [ruby-talk:84103] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4774 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/socket/extconf.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/socket') diff --git a/ext/socket/extconf.rb b/ext/socket/extconf.rb index 0fcb392690..4f7b49407f 100644 --- a/ext/socket/extconf.rb +++ b/ext/socket/extconf.rb @@ -319,7 +319,7 @@ end $objs = ["socket.#{$OBJEXT}"] -if $getaddr_info_ok and have_func("getaddrinfo") and have_func("getnameinfo") +if $getaddr_info_ok and have_func("getaddrinfo", "netdb.h") and have_func("getnameinfo", "netdb.h") have_getaddrinfo = true else if try_link(<