summaryrefslogtreecommitdiffstats
path: root/ext/socket/extconf.rb
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-07-10 04:49:24 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-07-10 04:49:24 +0000
commite3b0d7320d8ce77a23840a3027ab3678c152ab3a (patch)
treef1dda39296b6911752cd4b6446a21f2e54ff68e1 /ext/socket/extconf.rb
parent950abe3995d64e96d387eb01f34ec146296b306f (diff)
downloadruby-e3b0d7320d8ce77a23840a3027ab3678c152ab3a.tar.gz
ruby-e3b0d7320d8ce77a23840a3027ab3678c152ab3a.tar.xz
ruby-e3b0d7320d8ce77a23840a3027ab3678c152ab3a.zip
matz
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/socket/extconf.rb')
-rw-r--r--ext/socket/extconf.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/socket/extconf.rb b/ext/socket/extconf.rb
index b0b44180c..d1ce000f5 100644
--- a/ext/socket/extconf.rb
+++ b/ext/socket/extconf.rb
@@ -306,6 +306,8 @@ else
$objs += ["getnameinfo.#{$OBJEXT}"]
have_func("inet_ntop") or have_func("inet_ntoa")
have_func("inet_pton") or have_func("inet_aton")
+ have_func("getservbyport")
+ have_header("arpa/inet.h")
have_header("arpa/nameser.h")
have_header("resolv.h")
end