Bump revision for tmux and openssh after updated pwd.h patch
[termux-packages] / ndk_patches / sys-wait.h.patch
CommitLineData
e7fcdfa2
FF
1diff -u -r /home/fornwall/lib/android-ndk/platforms/android-21/arch-arm/usr/include/sys/wait.h ./usr/include/sys/wait.h
2--- /home/fornwall/lib/android-ndk/platforms/android-21/arch-arm/usr/include/sys/wait.h 2014-10-14 22:53:49.000000000 -0400
3+++ ./usr/include/sys/wait.h 2015-07-11 16:55:21.567042577 -0400
4@@ -48,6 +48,8 @@
59f0d218
FF
5 extern pid_t wait(int *);
6 extern pid_t waitpid(pid_t, int *, int);
8f7dda83
FF
7 extern pid_t wait4(pid_t, int *, int, struct rusage *);
8+/* Termux addition: Add wait3() declaration used by busybox. Available in libc for 32-bit only. */
49ca09e5 9+static pid_t wait3(int* status, int options, struct rusage* rusage) { return wait4(-1, status, options, rusage); }
8f7dda83
FF
10
11 /* Posix states that idtype_t should be an enumeration type, but
12 * the kernel headers define P_ALL, P_PID and P_PGID as constant macros