diff --git a/mrbgems/mruby-io/test/mruby_io_test.c b/mrbgems/mruby-io/test/mruby_io_test.c index 2c9efbe85..1b14b38d4 100644 --- a/mrbgems/mruby-io/test/mruby_io_test.c +++ b/mrbgems/mruby-io/test/mruby_io_test.c @@ -11,7 +11,9 @@ #include #include +#if (!defined __MINGW64__) && (!defined __MINGW32__) typedef int mode_t; +#endif static int mkstemp(char *p)