Skip to content

Commit b6f56c4

Browse files
committed
Run have_func with the header providing the declarations
1 parent 9ce8f85 commit b6f56c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/openssl/extconf.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838

3939
$defs.push("-D""OPENSSL_SUPPRESS_DEPRECATED")
4040

41-
have_func("rb_io_descriptor")
41+
have_func("rb_io_descriptor", "ruby/io.h")
4242
have_func("rb_io_maybe_wait(0, Qnil, Qnil, Qnil)", "ruby/io.h") # Ruby 3.1
4343
have_func("rb_io_timeout", "ruby/io.h")
4444

0 commit comments

Comments
 (0)