summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/waitpid.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/waitpid.c')
-rw-r--r--libc/sysdeps/linux/common/waitpid.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/waitpid.c b/libc/sysdeps/linux/common/waitpid.c
index 255a3c84e..a912e5179 100644
--- a/libc/sysdeps/linux/common/waitpid.c
+++ b/libc/sysdeps/linux/common/waitpid.c
@@ -1,4 +1,5 @@
-#include <syscall.h>
+#include <stdlib.h>
+#include <sys/types.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <sys/resource.h>