commit | daf8911079ad9c5e0b874701aabe3835e94991b6 | [log] [tgz] |
---|---|---|
author | Nikola Veljkovic <Nikola.Veljkovic@imgtec.com> | Mon Feb 23 16:14:56 2015 +0100 |
committer | Nikola Veljkovic <Nikola.Veljkovic@imgtec.com> | Mon Feb 23 16:21:31 2015 +0100 |
tree | fdcfca81d975835407b150a2c7e1847b3c745f49 | |
parent | 04bbef377b9941bf6d67d9c515b6640a314fb032 [diff] [blame] |
[MIPS64] Fix mips64 build. Build was broken by: https://android-review.googlesource.com/133834 Use <unistd.h> to get syscall(). Remove <asm/unistd.h>, it gets included through <sys/syscall.h>. Change-Id: Id762f6dea5f9538c19b79cdd46deda978efd50fe
diff --git a/libc/arch-mips64/bionic/stat.cpp b/libc/arch-mips64/bionic/stat.cpp index df63906..2767fbd 100644 --- a/libc/arch-mips64/bionic/stat.cpp +++ b/libc/arch-mips64/bionic/stat.cpp
@@ -29,7 +29,7 @@ #include <sys/stat.h> #include <sys/types.h> #include <sys/syscall.h> -#include <asm/unistd.h> +#include <unistd.h> struct kernel_stat { unsigned int st_dev;