Переглянути джерело

Added #include <wait.h> for getrusage.

Manuel Novoa III 25 роки тому
батько
коміт
b5abf98bfd
1 змінених файлів з 1 додано та 0 видалено
  1. 1 0
      libc/sysdeps/linux/common/syscalls.c

+ 1 - 0
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