diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2018-09-08 22:41:16 +0300 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2018-09-14 13:22:50 +1000 |
commit | 064b8e0e8d88724453105adc9e04ddf8ef6617cc (patch) | |
tree | 7b052472250bceda905db61d602bb433ed6e75be | |
parent | 0bce110872affc372ec5158cebce507848a76b8a (diff) |
unix/modos: Include extmod/vfs.h for MP_S_IFDIR, etc.
If DTTOIF() macro is not defined, the code refers to MP_S_IFDIR, etc.
symbols defined in extmod/vfs.h, so should include it.
This fixes build for Android.
-rw-r--r-- | ports/unix/modos.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ports/unix/modos.c b/ports/unix/modos.c index 2c32cdd41..98bca9454 100644 --- a/ports/unix/modos.c +++ b/ports/unix/modos.c @@ -37,6 +37,7 @@ #include "py/runtime.h" #include "py/objtuple.h" #include "py/mphal.h" +#include "extmod/vfs.h" #include "extmod/misc.h" #ifdef __ANDROID__ |