summaryrefslogtreecommitdiffstats
path: root/ext/socket/extconf.rb
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-10-15 02:27:56 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-10-15 02:27:56 +0000
commitde860552ebd973fe15d2b26acc13072f84688dca (patch)
tree3f70b2c935c7b86d4111cd6c7e4310ea4a550eea /ext/socket/extconf.rb
parent61d17c1a6bee368342d0af2f28bd6980e61cdfa1 (diff)
downloadruby-de860552ebd973fe15d2b26acc13072f84688dca.tar.gz
ruby-de860552ebd973fe15d2b26acc13072f84688dca.tar.xz
ruby-de860552ebd973fe15d2b26acc13072f84688dca.zip
* 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 <m_seki@mva.biglobe.ne.jp>. * parse.y (yylex): argument parentheses preceded by spaces should be warned; not error. [ruby-talk:84103] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4774 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/socket/extconf.rb')
-rw-r--r--ext/socket/extconf.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/socket/extconf.rb b/ext/socket/extconf.rb
index 0fcb39269..4f7b49407 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(<<EOF)