| 1 | diff -u -r /home/fornwall/lib/android-ndk/sysroot/usr/include/sys/wait.h ./usr/include/sys/wait.h |
| 2 | --- /home/fornwall/lib/android-ndk/sysroot/usr/include/sys/wait.h 2017-06-07 01:07:52.000000000 +0200 |
| 3 | +++ ./usr/include/sys/wait.h 2017-06-18 02:11:22.268075841 +0200 |
| 4 | @@ -57,6 +57,9 @@ |
| 5 | // Implemented as a static inline before 18. |
| 6 | #endif |
| 7 | |
| 8 | +/* Termux addition: Add wait3() declaration used by busybox. Available in libc for 32-bit only. */ |
| 9 | +static pid_t wait3(int* status, int options, struct rusage* rusage) { return wait4(-1, status, options, rusage); } |
| 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 |
| 13 | * instead. |