diff --git a/libc/bionic/statvfs.cpp b/libc/bionic/statvfs.cpp index 5d5828149..5d42aaa4d 100644 --- a/libc/bionic/statvfs.cpp +++ b/libc/bionic/statvfs.cpp @@ -23,6 +23,10 @@ extern "C" int __fstatfs64(int, size_t, struct statfs*); #define ST_VALID 0x0020 +#if defined(__mips__) +#define __val val +#endif + static void __statfs_to_statvfs(const struct statfs& in, struct statvfs* out) { out->f_bsize = in.f_bsize; out->f_frsize = in.f_frsize;