extmod/vfs_posix_file: Include unistd.h to get STD{IN,OUT,ERR}_FILENO.
This commit is contained in:
parent
d0edaf88a3
commit
58d9a4815d
@ -32,6 +32,7 @@
|
|||||||
#if MICROPY_VFS_POSIX || MICROPY_VFS_POSIX_FILE
|
#if MICROPY_VFS_POSIX || MICROPY_VFS_POSIX_FILE
|
||||||
|
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
|
#include <unistd.h>
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
#define fsync _commit
|
#define fsync _commit
|
||||||
|
Loading…
x
Reference in New Issue
Block a user