Browse Source

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

pull/5788/merge
David Lechner 5 years ago
committed by Damien George
parent
commit
58d9a4815d
  1. 1
      extmod/vfs_posix_file.c

1
extmod/vfs_posix_file.c

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

Loading…
Cancel
Save