summaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-02-07 02:44:07 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-02-07 02:44:07 +0000
commit060ac5ca43e80c474a87176577f1139976d44a7b (patch)
tree4a5f6b9d268d4ca8786297c98ef162042a1a6f8f /ext
parent7729ee218d26f529d20cf76db48ca23946dce7a5 (diff)
downloadruby-060ac5ca43e80c474a87176577f1139976d44a7b.tar.gz
ruby-060ac5ca43e80c474a87176577f1139976d44a7b.tar.xz
ruby-060ac5ca43e80c474a87176577f1139976d44a7b.zip
* lib/mkmf.rb (have_header): needs dependent headers if trying to
compile. * ext/socket/extconf.rb: net/if.h depends on other headers. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22103 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r--ext/socket/extconf.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/socket/extconf.rb b/ext/socket/extconf.rb
index 63a8577c2..a0a4f8e9f 100644
--- a/ext/socket/extconf.rb
+++ b/ext/socket/extconf.rb
@@ -291,7 +291,7 @@ have_header("ifaddrs.h")
have_func("getifaddrs")
have_header("sys/ioctl.h")
have_header("sys/sockio.h")
-have_header("net/if.h")
+have_header("net/if.h", headers)
unless have_type("socklen_t", headers)
$defs << "-Dsocklen_t=int"