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 <vapier@gentoo.org>
This commit is contained in:
parent
af61809a18
commit
13d8cc0681
1
watch.c
1
watch.c
@ -31,6 +31,7 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <sys/ioctl.h>
|
#include <sys/ioctl.h>
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
|
#include <sys/wait.h>
|
||||||
#include <termios.h>
|
#include <termios.h>
|
||||||
#include <termios.h>
|
#include <termios.h>
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user