summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Dickson <steved@redhat.com>2010-01-22 12:30:58 -0500
committerSteve Dickson <steved@redhat.com>2010-01-22 12:30:58 -0500
commitd9c22d2e825d050a89da8c798c56f3a96d2359b0 (patch)
tree65d0496cbf68e610c7fece3c79d68bb05e2bc266
parent207cf7da3868e13439544ac83b64e8e5efcbdf91 (diff)
downloadnfs-utils-d9c22d2e825d050a89da8c798c56f3a96d2359b0.tar.gz
nfs-utils-d9c22d2e825d050a89da8c798c56f3a96d2359b0.tar.xz
nfs-utils-d9c22d2e825d050a89da8c798c56f3a96d2359b0.zip
Added the sys/stat.h header file to a number of
files which ensure the S_ISDIR() macro is defined. Signed-off-by: Steve Dickson <steved@redhat.com>
-rw-r--r--utils/exportfs/exportfs.c1
-rw-r--r--utils/mount/mount.c1
-rw-r--r--utils/mount/network.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/utils/exportfs/exportfs.c b/utils/exportfs/exportfs.c
index 593a8eb..331e57e 100644
--- a/utils/exportfs/exportfs.c
+++ b/utils/exportfs/exportfs.c
@@ -13,6 +13,7 @@
#endif
#include <sys/vfs.h>
+#include <sys/stat.h>
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
diff --git a/utils/mount/mount.c b/utils/mount/mount.c
index 6b9e164..82b9169 100644
--- a/utils/mount/mount.c
+++ b/utils/mount/mount.c
@@ -24,6 +24,7 @@
#include <unistd.h>
#include <sys/types.h>
+#include <sys/stat.h>
#include <stdio.h>
#include <string.h>
#include <errno.h>
diff --git a/utils/mount/network.c b/utils/mount/network.c
index 92bba2d..06cab6a 100644
--- a/utils/mount/network.c
+++ b/utils/mount/network.c
@@ -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>