summaryrefslogtreecommitdiffstatshomepage
path: root/unix
diff options
context:
space:
mode:
Diffstat (limited to 'unix')
-rw-r--r--unix/modos.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/modos.c b/unix/modos.c
index 72f5d872e4..c35b246dd0 100644
--- a/unix/modos.c
+++ b/unix/modos.c
@@ -39,6 +39,7 @@
#include "py/objtuple.h"
#include "py/mphal.h"
#include "extmod/misc.h"
+#include "extmod/vfs_fat.h"
// Can't include this, as FATFS structure definition is required,
// and FatFs header defining it conflicts with POSIX.
@@ -46,7 +47,6 @@
MP_DECLARE_CONST_FUN_OBJ_KW(fsuser_mount_obj);
MP_DECLARE_CONST_FUN_OBJ_1(fsuser_umount_obj);
MP_DECLARE_CONST_FUN_OBJ_KW(fsuser_mkfs_obj);
-extern const mp_obj_type_t mp_fat_vfs_type;
#ifdef __ANDROID__
#define USE_STATFS 1