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.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/socket/extconf.rb b/ext/socket/extconf.rb
index c7d07d0..f3f4529 100644
--- a/ext/socket/extconf.rb
+++ b/ext/socket/extconf.rb
@@ -293,6 +293,9 @@ have_header("sys/ioctl.h")
have_header("sys/sockio.h")
have_header("net/if.h", headers)
+have_header("sys/param.h", headers)
+have_header("sys/ucred.h", headers)
+
unless have_type("socklen_t", headers)
$defs << "-Dsocklen_t=int"
end