[ruby/etc] Run have_func with the header providing the declarations

https://github.com/ruby/etc/commit/6668bfd42a
This commit is contained in:
Nobuyoshi Nakada 2025-07-01 17:38:25 +09:00 committed by git
parent 9ab3e47d35
commit 11fe8b26c1

View File

@ -60,7 +60,7 @@ end
# TODO: remove when dropping 2.7 support, as exported since 3.0
have_func('rb_deprecate_constant(Qnil, "None")')
have_func("rb_io_descriptor")
have_func("rb_io_descriptor", "ruby/io.h")
$distcleanfiles << "constdefs.h"