summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2001-01-17 04:56:47 +0000
committerManuel Novoa III <mjn3@codepoet.org>2001-01-17 04:56:47 +0000
commitb5abf98bfd9b5296b9aad1fe998e9f020b8a856f (patch)
tree7a03ba615c0840299309250e03ef4e1d250c4ef0
parent2773c94a3ac98835200c6f7032d240b7154b01f0 (diff)
Added #include <wait.h> for getrusage.
-rw-r--r--libc/sysdeps/linux/common/syscalls.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/syscalls.c b/libc/sysdeps/linux/common/syscalls.c
index 931958de5..0a452e55f 100644
--- a/libc/sysdeps/linux/common/syscalls.c
+++ b/libc/sysdeps/linux/common/syscalls.c
@@ -506,6 +506,7 @@ _syscall2(int, getrlimit, int, resource, struct rlimit *, rlim);
//#define __NR_getrusage 77
#ifdef L_getrusage
#include <unistd.h>
+#include <wait.h>
_syscall2(int, getrusage, int, who, struct rusage *, usage);
#endif