summaryrefslogtreecommitdiff
path: root/test/unistd
diff options
context:
space:
mode:
Diffstat (limited to 'test/unistd')
-rw-r--r--test/unistd/fork.c1
-rw-r--r--test/unistd/vfork.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/test/unistd/fork.c b/test/unistd/fork.c
index 9c8285620..da4f2688d 100644
--- a/test/unistd/fork.c
+++ b/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)
diff --git a/test/unistd/vfork.c b/test/unistd/vfork.c
index 301d800cb..c7d409adb 100644
--- a/test/unistd/vfork.c
+++ b/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)
{