[ovs-dev] [PATCH] lib: Remove warnings in daemon.c
Ethan Jackson
ethan at nicira.com
Thu Oct 14 16:01:45 PDT 2010
On some platforms compilation of daemon.c results in implicit
declaration of function fstat and stat warnings.
---
lib/daemon.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/lib/daemon.c b/lib/daemon.c
index bbcfe6a..bc28973 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"
--
1.7.3.1
More information about the dev
mailing list