From f8e9ef5cd04eeb93acf68bc7ed470d60130884ea Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Sun, 18 Oct 2015 02:52:29 +0300 Subject: [PATCH] unix/modos: Guard sys/statvfs.h include with MICROPY_PY_OS_STATVFS check. E.g. Windows lacks this header. --- unix/modos.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/unix/modos.c b/unix/modos.c index 02d7e37e02..1fd8790a30 100644 --- a/unix/modos.c +++ b/unix/modos.c @@ -30,7 +30,9 @@ #include #include #include +#if MICROPY_PY_OS_STATVFS #include +#endif #include "py/nlr.h" #include "py/runtime.h"