diff options
Diffstat (limited to 'src/io.c')
| -rw-r--r-- | src/io.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -11,7 +11,12 @@ #include "mruby/string.h" #include "mruby/variable.h" #include "mruby/ext/io.h" + +#if MRUBY_RELEASE_NO < 10000 #include "error.h" +#else +#include "mruby/error.h" +#endif static int mrb_io_modestr_to_flags(mrb_state *mrb, const char *modestr); static int mrb_io_modenum_to_flags(mrb_state *mrb, int modenum); |
