projects
/
oweals
/
musl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add setxid.c for new set*id() framework. missed in last commit.
[oweals/musl.git]
/
src
/
linux
/
wait3.c
diff --git
a/src/linux/wait3.c
b/src/linux/wait3.c
index d1d91b055db53d4b6032ee890170dcbac9d56c07..61c735947b473b88b27f0fa71c8725b96d31ed0b 100644
(file)
--- a/
src/linux/wait3.c
+++ b/
src/linux/wait3.c
@@
-1,9
+1,8
@@
+#define _GNU_SOURCE
#include <sys/wait.h>
#include <sys/resource.h>
#include "syscall.h"
-pid_t wait4(pid_t, int *, int, struct rusage *);
-
pid_t wait3(int *status, int options, struct rusage *usage)
{
return wait4(-1, status, options, usage);