diff --git a/shared-bindings/bitmaptools/__init__.c b/shared-bindings/bitmaptools/__init__.c index def72b53a0..1db0a20629 100644 --- a/shared-bindings/bitmaptools/__init__.c +++ b/shared-bindings/bitmaptools/__init__.c @@ -39,7 +39,7 @@ #if MICROPY_VFS #include "extmod/vfs.h" #endif -#if MICROPY_VFS_POSIX +#if defined(MICROPY_VFS_POSIX) && MICROPY_VFS_POSIX #include "extmod/vfs_posix.h" #endif diff --git a/tests/unix/extra_coverage.py.exp b/tests/unix/extra_coverage.py.exp index 3a1e7f280b..4be6b20d5d 100644 --- a/tests/unix/extra_coverage.py.exp +++ b/tests/unix/extra_coverage.py.exp @@ -30,15 +30,15 @@ ame__ mport builtins micropython _thread array -binascii btree cexample cmath -collections cppexample displayio errno -ffi framebuf gc gifio -hashlib json math qrio -re sys termios ubinascii -uctypes uerrno uheapq uio -ujson ulab uos urandom -ure uselect ustruct utime -utimeq uzlib +binascii bitmaptools btree cexample +cmath collections cppexample displayio +errno ffi framebuf gc +gifio hashlib json math +qrio re sys termios +ubinascii uctypes uerrno uheapq +uio ujson ulab uos +urandom ure uselect ustruct +utime utimeq uzlib ime utime utimeq