diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2015-03-13 21:03:10 +0100 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2015-03-13 21:12:37 +0100 |
commit | 21cbb6fe887a30f0777521ec10f0d0d9c2a7da7e (patch) | |
tree | 73b95a94eae224cddb38c3f8d0b0ce5700ecf8c4 /libc | |
parent | 8c66e0a6c7987cda9df8c88e84b3d50d573c1dbb (diff) |
unistd.h: put getppid under XOPEN2K8
Add __LEAF to all __THROW, introduce non-leaf __THROWNL
Adjust affected spots accordingly.
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc')
-rw-r--r-- | libc/sysdeps/linux/common/getrusage.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/getrusage.c b/libc/sysdeps/linux/common/getrusage.c index 3e719f294..fb7614be8 100644 --- a/libc/sysdeps/linux/common/getrusage.c +++ b/libc/sysdeps/linux/common/getrusage.c @@ -10,4 +10,5 @@ #include <sys/syscall.h> #include <unistd.h> #include <wait.h> +#include <sys/resource.h> _syscall2(int, getrusage, __rusage_who_t, who, struct rusage *, usage) |