summaryrefslogtreecommitdiff
path: root/ext/socket/extconf.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ext/socket/extconf.rb')
-rw-r--r--ext/socket/extconf.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/ext/socket/extconf.rb b/ext/socket/extconf.rb
index 718aa1f..24eb736 100644
--- a/ext/socket/extconf.rb
+++ b/ext/socket/extconf.rb
@@ -285,6 +285,12 @@ EOF
have_header("resolv.h")
end
+have_header("ifaddrs.h")
+have_func("getifaddrs")
+have_header("sys/ioctl.h")
+have_header("sys/sockio.h")
+have_header("net/if.h")
+
unless have_type("socklen_t", headers)
$defs << "-Dsocklen_t=int"
end