summaryrefslogtreecommitdiff
path: root/include/ruby
diff options
context:
space:
mode:
Diffstat (limited to 'include/ruby')
-rw-r--r--include/ruby/io.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/ruby/io.h b/include/ruby/io.h
index 13af824ed8..b5e33c1cf9 100644
--- a/include/ruby/io.h
+++ b/include/ruby/io.h
@@ -55,6 +55,9 @@
#include "ruby/internal/value.h"
#include "ruby/backward/2/attributes.h" /* PACKED_STRUCT_UNALIGNED */
+// IO#wait, IO#wait_readable, IO#wait_writable, IO#wait_priority are defined by this implementation.
+#define RUBY_IO_WAIT_METHODS
+
RBIMPL_SYMBOL_EXPORT_BEGIN()
struct stat;