浏览代码

Fix headers

Eric Andersen 22 年之前
父节点
当前提交
562f2ff2c5
共有 2 个文件被更改,包括 3 次插入0 次删除
  1. 1 0
      test/unistd/fork.c
  2. 2 0
      test/unistd/vfork.c

+ 1 - 0
test/unistd/fork.c

@@ -25,6 +25,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <unistd.h>
+#include <signal.h>
 #include <sys/wait.h>
 
 #define GOT1	(1 << 1)

+ 2 - 0
test/unistd/vfork.c

@@ -25,6 +25,8 @@
 #include <stdlib.h>
 #include <unistd.h>
 #include <sys/wait.h>
+#include <sys/types.h>
+
 
 int main(void) 
 {