diff options
author | Jan-Erik Rediger <badboy@archlinux.us> | 2012-07-28 12:33:01 +0300 |
---|---|---|
committer | Jan-Erik Rediger <badboy@archlinux.us> | 2012-07-28 12:33:01 +0300 |
commit | c6c19c8372fd9258a35b7d4bdcb454898e6c1413 (patch) | |
tree | e1f7719eeebea7be24330e5670fbc094c04821b1 | |
parent | ed7b308c1c369d7a004b6f7a72e01ad1eddb5ac3 (diff) | |
download | redis-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.c | 1 |
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; |