summaryrefslogtreecommitdiffstats
path: root/9/platforms/android-15/arch-mips/usr/include/sys
diff options
context:
space:
mode:
authorAndrew Hsieh <andrewhsieh@google.com>2014-02-05 12:17:02 +0800
committerAndrew Hsieh <andrewhsieh@google.com>2014-02-05 12:17:02 +0800
commita1ec217d9be90f989de16aaff2584688e374dc3f (patch)
treed1a076c706cd5905c2bbf7b92cdcf79245f13930 /9/platforms/android-15/arch-mips/usr/include/sys
parent733874f3f5180fc248286514eac91100b9b9b4e2 (diff)
downloadprebuilts_ndk-a1ec217d9be90f989de16aaff2584688e374dc3f.zip
prebuilts_ndk-a1ec217d9be90f989de16aaff2584688e374dc3f.tar.gz
prebuilts_ndk-a1ec217d9be90f989de16aaff2584688e374dc3f.tar.bz2
Refresh headers to NDK r9c+
Change-Id: I33c5205492e0e8932450658b8f33aa16d63c56c0
Diffstat (limited to '9/platforms/android-15/arch-mips/usr/include/sys')
-rw-r--r--9/platforms/android-15/arch-mips/usr/include/sys/prctl.h1
-rw-r--r--9/platforms/android-15/arch-mips/usr/include/sys/utime.h1
-rw-r--r--9/platforms/android-15/arch-mips/usr/include/sys/wait.h8
3 files changed, 7 insertions, 3 deletions
diff --git a/9/platforms/android-15/arch-mips/usr/include/sys/prctl.h b/9/platforms/android-15/arch-mips/usr/include/sys/prctl.h
index 359d684..00e5837 100644
--- a/9/platforms/android-15/arch-mips/usr/include/sys/prctl.h
+++ b/9/platforms/android-15/arch-mips/usr/include/sys/prctl.h
@@ -29,6 +29,7 @@
#define _SYS_PRCTL_H
#include <linux/prctl.h>
+#include <sys/cdefs.h>
__BEGIN_DECLS
diff --git a/9/platforms/android-15/arch-mips/usr/include/sys/utime.h b/9/platforms/android-15/arch-mips/usr/include/sys/utime.h
index 9f8810e..918d153 100644
--- a/9/platforms/android-15/arch-mips/usr/include/sys/utime.h
+++ b/9/platforms/android-15/arch-mips/usr/include/sys/utime.h
@@ -28,6 +28,7 @@
#ifndef _SYS_UTIME_H_
#define _SYS_UTIME_H_
+#include <sys/types.h>
#include <linux/utime.h>
#endif /* _SYS_UTIME_H_ */
diff --git a/9/platforms/android-15/arch-mips/usr/include/sys/wait.h b/9/platforms/android-15/arch-mips/usr/include/sys/wait.h
index da29734..51e070b 100644
--- a/9/platforms/android-15/arch-mips/usr/include/sys/wait.h
+++ b/9/platforms/android-15/arch-mips/usr/include/sys/wait.h
@@ -33,6 +33,9 @@
#include <sys/resource.h>
#include <linux/wait.h>
#include <signal.h>
+#include <asm/unistd.h>
+#include <sys/syscall.h>
+
__BEGIN_DECLS
@@ -48,10 +51,9 @@ __BEGIN_DECLS
extern pid_t wait(int *);
extern pid_t waitpid(pid_t, int *, int);
extern pid_t wait3(int *, int, struct rusage *);
-static __inline__ pid_t wait4(pid_t p, int *s, int o, struct rusage *r)
+static __inline__ pid_t wait4(pid_t pid, int *status, int options, struct rusage *rusage)
{
- extern pid_t __wait4(pid_t, int *, int, struct rusage *);
- return __wait4(p,s,o,r);
+ return (pid_t)syscall(__NR_wait4, pid, status, options, rusage);
}
/* Posix states that idtype_t should be an enumeration type, but