unix/modos: Guard sys/statvfs.h include with MICROPY_PY_OS_STATVFS check.
E.g. Windows lacks this header.
This commit is contained in:
parent
020386b61c
commit
f8e9ef5cd0
|
@ -30,7 +30,9 @@
|
|||
#include <unistd.h>
|
||||
#include <errno.h>
|
||||
#include <stdlib.h>
|
||||
#if MICROPY_PY_OS_STATVFS
|
||||
#include <sys/statvfs.h>
|
||||
#endif
|
||||
|
||||
#include "py/nlr.h"
|
||||
#include "py/runtime.h"
|
||||
|
|
Loading…
Reference in New Issue