diff options
author | Ethan Jackson <ethan@nicira.com> | 2010-10-14 22:59:11 +0000 |
---|---|---|
committer | Ethan Jackson <ethan@nicira.com> | 2010-10-14 22:59:11 +0000 |
commit | 309eaa2bc4f9367cb1ca6ec91b583a7a6cabf079 (patch) | |
tree | 2e257b4f8419cbafb209869cd75c6a0aeb8438a4 /lib/daemon.c | |
parent | 444b381ed174cc3add791197073a419f36ae8c69 (diff) |
lib: Remove warnings in daemon.c
On some platforms compilation of daemon.c results in implicit
declaration of function fstat and stat warnings.
Diffstat (limited to 'lib/daemon.c')
-rw-r--r-- | lib/daemon.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/daemon.c b/lib/daemon.c index bbcfe6af..bc28973f 100644 --- a/lib/daemon.c +++ b/lib/daemon.c @@ -23,6 +23,7 @@ #include <string.h> #include <sys/resource.h> #include <sys/wait.h> +#include <sys/stat.h> #include <unistd.h> #include "command-line.h" #include "fatal-signal.h" |