summaryrefslogtreecommitdiff
path: root/devel/rubygem-iobuffer/files/patch-ext_extconf.rb
blob: d16f3385979986ebf7f61d73b4e0496abb85a140 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- ext/extconf.rb.orig	2022-03-10 08:57:25 UTC
+++ ext/extconf.rb
@@ -2,8 +2,8 @@ require 'mkmf'
 
 dir_config("iobuffer")
 have_library("c", "main")
-if have_macro("HAVE_RB_IO_T", "rubyio.h")
-  have_struct_member("rb_io_t", "fd", "rubyio.h")
+if have_macro("HAVE_RB_IO_T", "ruby/io.h")
+  have_struct_member("rb_io_t", "fd", "ruby/io.h")
 end
 
 create_makefile("iobuffer_ext")