]> git.decadent.org.uk Git - nfs-utils.git/commitdiff
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 593a8ebd467e1081b4f7ed4110df89712bc8c248..331e57e8cf4b5efd8a5c296f16abc4d1db64fc69 100644 (file)
@@ -13,6 +13,7 @@
 #endif
 
 #include <sys/vfs.h>
 #endif
 
 #include <sys/vfs.h>
+#include <sys/stat.h>
 #include <unistd.h>
 #include <stdlib.h>
 #include <string.h>
 #include <unistd.h>
 #include <stdlib.h>
 #include <string.h>
index 6b9e1642c43fa1087dada7d38db47ee4126f5906..82b9169a10462dad5f1efbdb55596878f17db10f 100644 (file)
@@ -24,6 +24,7 @@
 
 #include <unistd.h>
 #include <sys/types.h>
 
 #include <unistd.h>
 #include <sys/types.h>
+#include <sys/stat.h>
 #include <stdio.h>
 #include <string.h>
 #include <errno.h>
 #include <stdio.h>
 #include <string.h>
 #include <errno.h>
index 92bba2d72667e6f6043ccea2b089dae9fb460ef9..06cab6a4884497f378fcb9577b5180cffcfeab7e 100644 (file)
@@ -37,6 +37,7 @@
 #include <sys/types.h>
 #include <sys/socket.h>
 #include <sys/wait.h>
 #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>
 #include <netinet/in.h>
 #include <rpc/rpc.h>
 #include <rpc/pmap_prot.h>