summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan-Erik Rediger <badboy@archlinux.us>2012-07-28 12:33:01 +0300
committerJan-Erik Rediger <badboy@archlinux.us>2012-07-28 12:33:01 +0300
commitc6c19c8372fd9258a35b7d4bdcb454898e6c1413 (patch)
treee1f7719eeebea7be24330e5670fbc094c04821b1
parented7b308c1c369d7a004b6f7a72e01ad1eddb5ac3 (diff)
downloadredis-c6c19c8372fd9258a35b7d4bdcb454898e6c1413.tar.gz
Include sys/wait.h to avoid compiler warning
gcc warned about an implicit declaration of function 'wait3'. Including this header fixes this.
-rw-r--r--src/sentinel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sentinel.c b/src/sentinel.c
index 227fb6938..a5ce31ee8 100644
--- a/src/sentinel.c
+++ b/src/sentinel.c
@@ -36,6 +36,7 @@
#include <ctype.h>
#include <arpa/inet.h>
#include <sys/socket.h>
+#include <sys/wait.h>
extern char **environ;