Permalink
Browse files

Include sys/wait.h to avoid compiler warning

gcc warned about an implicit declaration of function 'wait3'. 
Including this header fixes this.
  • Loading branch information...
1 parent ed7b308 commit c6c19c8372fd9258a35b7d4bdcb454898e6c1413 @badboy badboy committed Jul 28, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/sentinel.c
View
@@ -36,6 +36,7 @@
#include <ctype.h>
#include <arpa/inet.h>
#include <sys/socket.h>
+#include <sys/wait.h>
extern char **environ;

0 comments on commit c6c19c8

Please sign in to comment.