summaryrefslogtreecommitdiff
path: root/libc/include/sys/wait.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc/include/sys/wait.h')
-rw-r--r--libc/include/sys/wait.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/include/sys/wait.h b/libc/include/sys/wait.h
index f3972fca5..0247b2bce 100644
--- a/libc/include/sys/wait.h
+++ b/libc/include/sys/wait.h
@@ -51,7 +51,7 @@ __BEGIN_DECLS
pid_t wait(int*);
pid_t waitpid(pid_t, int*, int);
-#if __ANDROID_API__ >= 18
+#if __ANDROID_API__ >= __ANDROID_API_J_MR2__
pid_t wait4(pid_t, int*, int, struct rusage*) __INTRODUCED_IN(18);
#else
// Implemented as a static inline before 18.