summaryrefslogtreecommitdiff
path: root/extmod/vfs_posix_file.c
diff options
context:
space:
mode:
authorDan Halbert <halbert@halwitz.org>2018-07-12 14:13:51 -0400
committerDan Halbert <halbert@halwitz.org>2018-07-12 14:13:51 -0400
commit0d27f4d9a66dcb47b545e715d1833094b0c7b484 (patch)
tree14c17d103d0dfddae7f031aa4fdb004c5ebca2e1 /extmod/vfs_posix_file.c
parent7c219600a246d8956d0b23ea3f5d125a820e6b6a (diff)
continued WIP: almost compiling
Diffstat (limited to 'extmod/vfs_posix_file.c')
-rw-r--r--extmod/vfs_posix_file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extmod/vfs_posix_file.c b/extmod/vfs_posix_file.c
index 435ac65cd..d3ed4fe21 100644
--- a/extmod/vfs_posix_file.c
+++ b/extmod/vfs_posix_file.c
@@ -28,7 +28,7 @@
#include "py/stream.h"
#include "extmod/vfs_posix.h"
-#if MICROPY_VFS_POSIX
+#if defined(MICROPY_VFS_POSIX) && MICROPY_VFS_POSIX
#include <fcntl.h>