summaryrefslogtreecommitdiffstats
path: root/libc/arch-mips64/bionic
diff options
context:
space:
mode:
authorNikola Veljkovic <Nikola.Veljkovic@imgtec.com>2015-02-23 16:14:56 +0100
committerNikola Veljkovic <Nikola.Veljkovic@imgtec.com>2015-02-23 16:21:31 +0100
commitdaf8911079ad9c5e0b874701aabe3835e94991b6 (patch)
treefdcfca81d975835407b150a2c7e1847b3c745f49 /libc/arch-mips64/bionic
parent04bbef377b9941bf6d67d9c515b6640a314fb032 (diff)
downloadbionic-daf8911079ad9c5e0b874701aabe3835e94991b6.zip
bionic-daf8911079ad9c5e0b874701aabe3835e94991b6.tar.gz
bionic-daf8911079ad9c5e0b874701aabe3835e94991b6.tar.bz2
[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
Diffstat (limited to 'libc/arch-mips64/bionic')
-rw-r--r--libc/arch-mips64/bionic/stat.cpp2
1 files changed, 1 insertions, 1 deletions
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;