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 /ext/socket | |
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
Diffstat (limited to 'ext/socket')
-rw-r--r-- | ext/socket/extconf.rb | 10 |
1 files changed, 5 insertions, 5 deletions
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 |