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 921a0ee..ae2338d 100644
--- a/ext/socket/extconf.rb
+++ b/ext/socket/extconf.rb
@@ -316,6 +316,9 @@ have_type("struct cmsgcred", headers)
have_func("getpeereid")
+have_header("ucred.h", headers)
+have_func("getpeerucred")
+
$distcleanfiles << "constants.h" << "constdefs.*"
if have_func(test_func)