projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
444b381
)
lib: Remove warnings in daemon.c
author
Ethan Jackson
<ethan@nicira.com>
Thu, 14 Oct 2010 22:59:11 +0000
(22:59 +0000)
committer
Ethan Jackson
<ethan@nicira.com>
Thu, 14 Oct 2010 22:59:11 +0000
(22:59 +0000)
On some platforms compilation of daemon.c results in implicit
declaration of function fstat and stat warnings.
lib/daemon.c
patch
|
blob
|
history
diff --git
a/lib/daemon.c
b/lib/daemon.c
index bbcfe6afc7ebb5288178394a616eb31cf3f775cb..bc28973fc6a2d3d62c3aa7c270659387b8e3f0e1 100644
(file)
--- 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"