From caf48487cafb8414c60f32b902decf0689ae2093 Mon Sep 17 00:00:00 2001 From: Samuel Williams Date: Tue, 29 Aug 2023 00:50:05 +1200 Subject: [PATCH] Restore `HAVE_RB_IO_T` macro for compatibility with `kgio`, `unicorn`, etc. (#8286) --- include/ruby/io.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/ruby/io.h b/include/ruby/io.h index 60029fedb6..e9dfeda5b1 100644 --- a/include/ruby/io.h +++ b/include/ruby/io.h @@ -138,6 +138,7 @@ struct rb_io_encoding { }; #ifndef HAVE_RB_IO_T +#define HAVE_RB_IO_T 1 /** Ruby's IO, metadata and buffers. */ struct rb_io { /** The IO's Ruby level counterpart. */