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.
This commit is contained in:
Paul Sokolovsky 2018-09-08 22:41:16 +03:00 committed by Damien George
parent 0bce110872
commit 064b8e0e8d

View File

@ -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__