summaryrefslogtreecommitdiff
path: root/ext/socket
diff options
context:
space:
mode:
authorkosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-12-25 17:21:08 +0000
committerkosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-12-25 17:21:08 +0000
commit6bd4afaab89b7542eac3273fce55e02e61edb828 (patch)
tree5b11959c90c741a78bfd1f1f8bd2d76cc324efa4 /ext/socket
parentf30eca26639ce538339bc488c7ed1fd397b0c13f (diff)
* ext/socket/extconf.rb: Fix build error which was introduced r30372.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30374 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/socket')
-rw-r--r--ext/socket/extconf.rb11
1 files changed, 6 insertions, 5 deletions
diff --git a/ext/socket/extconf.rb b/ext/socket/extconf.rb
index fb77a98d1b9..dbce2bab477 100644
--- a/ext/socket/extconf.rb
+++ b/ext/socket/extconf.rb
@@ -301,13 +301,14 @@ if getaddr_info_ok == :wide or
$objs += ["getaddrinfo.#{$OBJEXT}"]
$objs += ["getnameinfo.#{$OBJEXT}"]
$defs << "-DGETADDRINFO_EMU"
- have_func("inet_ntop") or have_func("inet_ntoa")
- have_func("inet_pton") or have_func("inet_aton")
- have_func("getservbyport")
- have_header("arpa/nameser.h")
- have_header("resolv.h")
end
+have_func("inet_ntop") or have_func("inet_ntoa")
+have_func("inet_pton") or have_func("inet_aton")
+have_func("getservbyport")
+have_header("arpa/nameser.h")
+have_header("resolv.h")
+
have_header("ifaddrs.h")
have_func("getifaddrs")
have_header("sys/ioctl.h")