Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
......@@ -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"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment