extmod/vfs_posix_file: Include unistd.h to get STD{IN,OUT,ERR}_FILENO.

This commit is contained in:
David Lechner 2020-03-21 17:34:15 -05:00 committed by Damien George
parent d0edaf88a3
commit 58d9a4815d
1 changed files with 1 additions and 0 deletions

View File

@ -32,6 +32,7 @@
#if MICROPY_VFS_POSIX || MICROPY_VFS_POSIX_FILE
#include <fcntl.h>
#include <unistd.h>
#ifdef _WIN32
#define fsync _commit