diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-02-16 00:25:54 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-02-16 00:25:54 +0000 |
commit | 4b5b88ec7985ea043a0552e4bf43f5c6c61b2028 (patch) | |
tree | 457f08f528c8ccec3114a23c24fc691c5b65cae5 | |
parent | d6d0e853206535c76443b0cc03989885c964aa6e (diff) | |
download | ruby-4b5b88ec7985ea043a0552e4bf43f5c6c61b2028.tar.gz |
* ext/socket/extconf.rb: reorder header tests to consider inclusion
order in rubysocket.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | ext/socket/extconf.rb | 10 |
2 files changed, 10 insertions, 5 deletions
@@ -1,3 +1,8 @@ +Sat Feb 16 09:24:37 2013 Tanaka Akira <akr@fsij.org> + + * ext/socket/extconf.rb: reorder header tests to consider inclusion + order in rubysocket.h. + Sat Feb 16 08:42:58 2013 Tanaka Akira <akr@fsij.org> * configure.in, ext/socket/extconf.rb: test netinet/in_systm.h in diff --git a/ext/socket/extconf.rb b/ext/socket/extconf.rb index a6d2af5bd5..67a23e7d4c 100644 --- a/ext/socket/extconf.rb +++ b/ext/socket/extconf.rb @@ -30,22 +30,22 @@ end %w[ sys/feature_tests.h + sys/uio.h xti.h netinet/in_systm.h - arpa/inet.h netinet/tcp.h netinet/udp.h - arpa/nameser.h - resolv.h + arpa/inet.h + sys/un.h ifaddrs.h sys/ioctl.h sys/sockio.h net/if.h sys/param.h sys/ucred.h - sys/un.h - sys/uio.h ucred.h + arpa/nameser.h + resolv.h ].each {|h| if have_header(h, headers) headers << h |