]> git.saurik.com Git - redis.git/commitdiff
Include sys/wait.h to avoid compiler warning
authorJan-Erik Rediger <badboy@archlinux.us>
Sat, 28 Jul 2012 09:33:01 +0000 (12:33 +0300)
committerantirez <antirez@gmail.com>
Thu, 27 Sep 2012 11:04:51 +0000 (13:04 +0200)
gcc warned about an implicit declaration of function 'wait3'.
Including this header fixes this.

src/sentinel.c

index 24bf993f866e7108c7d8767ce2a17ccddc51d7b8..193320a5c9f76a83efcdde2a5a755b83be30dee3 100644 (file)
@@ -36,6 +36,7 @@
 #include <ctype.h>
 #include <arpa/inet.h>
 #include <sys/socket.h>
+#include <sys/wait.h>
 
 extern char **environ;