summaryrefslogtreecommitdiff
path: root/internal/io.h
diff options
context:
space:
mode:
Diffstat (limited to 'internal/io.h')
-rw-r--r--internal/io.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/io.h b/internal/io.h
index 00bca80fef..e04dbcb67c 100644
--- a/internal/io.h
+++ b/internal/io.h
@@ -9,14 +9,14 @@
* modify this file, provided that the conditions mentioned in the
* file COPYING are met. Consult the file for details.
*/
+#include "ruby/ruby.h" /* for VALUE */
+#include "ruby/io.h" /* for rb_io_t */
/* io.c */
void ruby_set_inplace_mode(const char *);
void rb_stdio_set_default_encoding(void);
VALUE rb_io_flush_raw(VALUE, int);
-#ifdef RUBY_IO_H
size_t rb_io_memsize(const rb_io_t *);
-#endif
int rb_stderr_tty_p(void);
void rb_io_fptr_finalize_internal(void *ptr);
#define rb_io_fptr_finalize rb_io_fptr_finalize_internal