summaryrefslogtreecommitdiff
path: root/ext/socket
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-02-16 00:25:54 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-02-16 00:25:54 +0000
commit4b5b88ec7985ea043a0552e4bf43f5c6c61b2028 (patch)
tree457f08f528c8ccec3114a23c24fc691c5b65cae5 /ext/socket
parentd6d0e853206535c76443b0cc03989885c964aa6e (diff)
* 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.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/socket/extconf.rb b/ext/socket/extconf.rb
index a6d2af5..67a23e7 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