summaryrefslogtreecommitdiff
path: root/internal.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-01-09 06:24:10 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-01-09 06:24:10 +0000
commitee85a6e72bdc4bd325e10e83a9f7de6b2693f20b (patch)
tree08c579b491395778b05a64521f09d180c725dd41 /internal.h
parentcdd77289afc9e2b18f33bed1c4ecb1d3e02bd8f0 (diff)
internal.h: remove dependecy on ruby/io.h
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61712 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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 */