summaryrefslogtreecommitdiff
path: root/ext/socket/extconf.rb
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
commit7c93e565600f3645659e603161c9ac992184c7d0 (patch)
tree4a5f6b9d268d4ca8786297c98ef162042a1a6f8f /ext/socket/extconf.rb
parent0c0f9873760236083a003a70b668fb1ea3473bfa (diff)
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@22103 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/socket/extconf.rb')
-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 63a8577..a0a4f8e 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"