From: Jan-Erik Rediger Date: Sat, 28 Jul 2012 09:33:01 +0000 (+0300) Subject: Include sys/wait.h to avoid compiler warning X-Git-Url: https://git.saurik.com/redis.git/commitdiff_plain/8a8e560b87028f9f39f9f1d80d44d3170ed4af6f Include sys/wait.h to avoid compiler warning gcc warned about an implicit declaration of function 'wait3'. Including this header fixes this. --- diff --git a/src/sentinel.c b/src/sentinel.c index 24bf993f..193320a5 100644 --- a/src/sentinel.c +++ b/src/sentinel.c @@ -36,6 +36,7 @@ #include #include #include +#include extern char **environ;