From 6184c1feaaecd161d9e53fb2ebe9c9a9ff4610cf Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Tue, 9 Jul 2013 14:18:36 -0700 Subject: [PATCH] Fix MIPS build. Change-Id: I583b1794dbc12fcded8c4f57f367593a742ab33f --- libc/bionic/statvfs.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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; -- 2.11.0