]> 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)
committerJan-Erik Rediger <badboy@archlinux.us>
Sat, 28 Jul 2012 09:33:01 +0000 (12:33 +0300)
gcc warned about an implicit declaration of function 'wait3'.
Including this header fixes this.

src/sentinel.c

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