summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2025-07-01 17:38:25 +0900
committergit <svn-admin@ruby-lang.org>2025-07-01 11:06:48 +0000
commit5277ca1431af870d7cf28470d4a6b8ee443e50ee (patch)
tree285d9f5d1939700ecb705b7ec9140ab019bf5807
parent8903166648776b17cb574557f25e5a77114f8b94 (diff)
[ruby/openssl] Run `have_func` with the header providing the declarations
https://github.com/ruby/openssl/commit/b6f56c4540
-rw-r--r--ext/openssl/extconf.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/openssl/extconf.rb b/ext/openssl/extconf.rb
index 6eb401cf55..afbed10b54 100644
--- a/ext/openssl/extconf.rb
+++ b/ext/openssl/extconf.rb
@@ -38,7 +38,7 @@ Logging::message "=== OpenSSL for Ruby configurator ===\n"
$defs.push("-D""OPENSSL_SUPPRESS_DEPRECATED")
-have_func("rb_io_descriptor")
+have_func("rb_io_descriptor", "ruby/io.h")
have_func("rb_io_maybe_wait(0, Qnil, Qnil, Qnil)", "ruby/io.h") # Ruby 3.1
have_func("rb_io_timeout", "ruby/io.h")