diff options
| author | Tomoyuki Sahara <[email protected]> | 2014-04-17 15:56:11 +0900 |
|---|---|---|
| committer | Tomoyuki Sahara <[email protected]> | 2014-04-17 15:56:11 +0900 |
| commit | 10be4cbb2cc59b0f0090d9500ede792aa5084d0e (patch) | |
| tree | 0153d922f40265fff6762ab5f69b96b12dafa092 | |
| parent | 87ce12dfe3f096128cde7c835cb8099342d78303 (diff) | |
| download | mruby-10be4cbb2cc59b0f0090d9500ede792aa5084d0e.tar.gz mruby-10be4cbb2cc59b0f0090d9500ede792aa5084d0e.zip | |
file.c does not depend on mruby/ext/io.h.
| -rw-r--r-- | src/file.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/file.c b/src/file.c index 930833370..fa7839dca 100644 --- a/src/file.c +++ b/src/file.c @@ -4,7 +4,6 @@ #include "mruby.h" -#include "mruby/ext/io.h" #include "mruby/class.h" #include "mruby/data.h" #include "mruby/string.h" @@ -15,8 +14,14 @@ #include "mruby/error.h" #endif +#include <sys/types.h> +#include <sys/stat.h> + #include <fcntl.h> #include <limits.h> +#include <unistd.h> + +#include <errno.h> #include <stdlib.h> #include <string.h> #if defined(_WIN32) || defined(_WIN64) |
