sys/wait.h is the proper header, not wait.h
authorMarkus Bröker <mbroeker@largo.dyndns.tv>
Fri, 05 Mar 2010 22:03:25 +0100
changeset 113 397270b5d21a
parent 112 9bfb339a8156
child 114 6f6850407ccf
sys/wait.h is the proper header, not wait.h committer: Markus Bröker <mbroeker@largo.homelinux.org>
mem2swap.c
pipe.c
prog_limit.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
 
--- 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
--- 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);