aboutsummaryrefslogtreecommitdiffstats
path: root/internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'internal.h')
-rw-r--r--internal.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/internal.h b/internal.h
index 119726b384..1a965991d3 100644
--- a/internal.h
+++ b/internal.h
@@ -14,7 +14,6 @@
#include "ruby.h"
#include "ruby/encoding.h"
-#include "ruby/io.h"
#if defined(__cplusplus)
extern "C" {
@@ -1315,7 +1314,9 @@ void ruby_set_inplace_mode(const char *);
ssize_t rb_io_bufread(VALUE io, void *buf, size_t size);
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);
/* load.c */