summaryrefslogtreecommitdiff
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
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
-rw-r--r--ChangeLog4
-rw-r--r--ext/socket/extconf.rb11
2 files changed, 10 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 46648f6dd4a..957427a7848 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Sun Dec 26 03:00:53 2010 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
+
+ * ext/socket/extconf.rb: Fix build error which was introduced r30372.
+
Sun Dec 26 01:37:10 2010 NAKAMURA Usaku <usa@ruby-lang.org>
* ext/socket/extconf.rb: check the existence of if_indextoname().
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")