OSDN Git Service

[MIPS64] Fix mips64 build.
authorNikola Veljkovic <Nikola.Veljkovic@imgtec.com>
Mon, 23 Feb 2015 15:14:56 +0000 (16:14 +0100)
committerNikola Veljkovic <Nikola.Veljkovic@imgtec.com>
Mon, 23 Feb 2015 15:21:31 +0000 (16:21 +0100)
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

libc/arch-mips64/bionic/stat.cpp

index df63906..2767fbd 100644 (file)
@@ -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;