Commit f8e9ef5c authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

unix/modos: Guard sys/statvfs.h include with MICROPY_PY_OS_STATVFS check.

E.g. Windows lacks this header.
parent 020386b6
......@@ -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"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment