[Open-FCoE] [PATCH 2/3] fcoe-utils: fix compile error due to missing headers

John Fastabend john.r.fastabend at intel.com
Sat Jan 8 00:50:25 UTC 2011

In an ugly chain of header files fcoemon was using the
header files from lldpad for sys/stat.h. After lldpad
header files were cleaned up to prevent this sort of
chaining this fix is needed.

Signed-off-by: John Fastabend <john.r.fastabend at intel.com>

 fcoemon.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/fcoemon.c b/fcoemon.c
index 0fa00bc..077f258 100644
--- a/fcoemon.c
+++ b/fcoemon.c
@@ -30,6 +30,7 @@
 #include <unistd.h>
 #include <paths.h>
 #include <dirent.h>
+#include <sys/stat.h>
 #include <sys/types.h>
 #include <sys/socket.h>
 #include <sys/queue.h>

More information about the devel mailing list