소스 검색

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