diff --git a/mrbgems/mruby-io/include/mruby/io.h b/mrbgems/mruby-io/include/mruby/io.h index a12903f15..e76241ba6 100644 --- a/mrbgems/mruby-io/include/mruby/io.h +++ b/mrbgems/mruby-io/include/mruby/io.h @@ -32,6 +32,9 @@ struct mrb_io_buf { }; struct mrb_io { + int fd; /* file descriptor, or -1 */ + int fd2; /* file descriptor to write if it's different from fd, or -1 */ + int pid; /* child's pid (for pipes) */ unsigned int readable:1, writable:1, eof:1, @@ -39,9 +42,6 @@ struct mrb_io { is_socket:1, close_fd:1, close_fd2:1; - int fd; /* file descriptor, or -1 */ - int fd2; /* file descriptor to write if it's different from fd, or -1 */ - int pid; /* child's pid (for pipes) */ struct mrb_io_buf *buf; };