From: Mike Frysinger Date: Tue, 24 Jan 2012 05:36:15 +0000 (-0500) Subject: watch: include sys/wait.h for waitpid X-Git-Tag: v3.3.3~109^2~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=13d8cc0681770d8a358115256b4eb8f98b1b12de;p=procps-ng watch: include sys/wait.h for waitpid Fixes build warning: watch.c:682:3: warning: implicit declaration of function 'waitpid' [-Wimplicit-function-declaration] Signed-off-by: Mike Frysinger --- diff --git a/watch.c b/watch.c index 4a2646b2..0bb62391 100644 --- a/watch.c +++ b/watch.c @@ -31,6 +31,7 @@ #include #include #include +#include #include #include #include