# HG changeset patch
# User Markus Bröker <mbroeker@largo.dyndns.tv>
# Date 1267823005 -3600
# Node ID 397270b5d21aa819a848d9d406410e0e9db376fb
# Parent  9bfb339a81563b8ca3f9ed42bb813f8c3d29b170
sys/wait.h is the proper header, not wait.h

committer: Markus Bröker <mbroeker@largo.homelinux.org>

diff --git a/mem2swap.c b/mem2swap.c
--- a/mem2swap.c
+++ b/mem2swap.c
@@ -9,7 +9,7 @@
 #include <stdlib.h>
 #include <unistd.h>
 #include <errno.h>
-#include <wait.h>
+#include <sys/wait.h>
 
 #define N 1000
 
diff --git a/pipe.c b/pipe.c
--- a/pipe.c
+++ b/pipe.c
@@ -7,7 +7,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <unistd.h>
-#include <wait.h>
+#include <sys/wait.h>
 #include <assert.h>
 
 #define MAX 50
diff --git a/prog_limit.c b/prog_limit.c
--- a/prog_limit.c
+++ b/prog_limit.c
@@ -5,7 +5,7 @@
 
 #include <stdio.h>
 #include <stdlib.h>
-#include <wait.h>
+#include <sys/wait.h>
 #include <unistd.h>
 
 int set_limit (int);