Added the sys/stat.h header file to a number of nfs-utils-1-2-2-rc9
authorSteve Dickson <steved@redhat.com>
Fri, 22 Jan 2010 17:30:58 +0000 (12:30 -0500)
committerSteve Dickson <steved@redhat.com>
Fri, 22 Jan 2010 17:30:58 +0000 (12:30 -0500)
files which ensure the S_ISDIR() macro is defined.

Signed-off-by: Steve Dickson <steved@redhat.com>
utils/exportfs/exportfs.c
utils/mount/mount.c
utils/mount/network.c

index 593a8eb..331e57e 100644 (file)
@@ -13,6 +13,7 @@
 #endif
 
 #include <sys/vfs.h>
+#include <sys/stat.h>
 #include <unistd.h>
 #include <stdlib.h>
 #include <string.h>
index 6b9e164..82b9169 100644 (file)
@@ -24,6 +24,7 @@
 
 #include <unistd.h>
 #include <sys/types.h>
+#include <sys/stat.h>
 #include <stdio.h>
 #include <string.h>
 #include <errno.h>
index 92bba2d..06cab6a 100644 (file)
@@ -37,6 +37,7 @@
 #include <sys/types.h>
 #include <sys/socket.h>
 #include <sys/wait.h>
+#include <sys/stat.h>
 #include <netinet/in.h>
 #include <rpc/rpc.h>
 #include <rpc/pmap_prot.h>