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

E.g. Windows lacks this header.
This commit is contained in:
Paul Sokolovsky 2015-10-18 02:52:29 +03:00
parent 020386b61c
commit f8e9ef5cd0
1 changed files with 2 additions and 0 deletions

View File

@ -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"