diff options
author | Damien George <damien.p.george@gmail.com> | 2014-03-17 10:31:03 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-03-17 10:31:03 +0000 |
commit | c44115f831046b832dffdd0f7ab9acee89c69251 (patch) | |
tree | b6d47715a189326e3cf9bc951be06ddf2825d61e /unix/main.c | |
parent | 781687c77280c96b4b240994a0a0e28cc959d269 (diff) | |
parent | c55388823f355334b1691b97cad5efc279feb224 (diff) | |
download | micropython-c44115f831046b832dffdd0f7ab9acee89c69251.tar.gz micropython-c44115f831046b832dffdd0f7ab9acee89c69251.zip |
Merge branch 'master' of github.com:xbe/micropython
Diffstat (limited to 'unix/main.c')
-rw-r--r-- | unix/main.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/unix/main.c b/unix/main.c index 6a7b44ff84..eecec301bf 100644 --- a/unix/main.c +++ b/unix/main.c @@ -1,8 +1,11 @@ #include <stdint.h> +#include <stdbool.h> #include <stdio.h> #include <string.h> #include <stdlib.h> #include <stdarg.h> +#include <sys/stat.h> +#include <sys/types.h> #include "nlr.h" #include "misc.h" @@ -391,8 +394,6 @@ int main(int argc, char **argv) { return 0; } -#include <sys/stat.h> - uint mp_import_stat(const char *path) { struct stat st; if (stat(path, &st) == 0) { |