#
# Modified from http://cgit.openembedded.net/cgit.cgi/openembedded/commit/?id=798066d5b2183acc617b5b9d18066f02680aa9d6
#
diff -Naur nfs-utils-1.1.6.orig/utils/exportfs/exportfs.c nfs-utils-1.1.6/utils/exportfs/exportfs.c
--- nfs-utils-1.1.6.orig/utils/exportfs/exportfs.c	2010-10-06 16:03:41.545000011 -0700
+++ nfs-utils-1.1.6/utils/exportfs/exportfs.c	2010-10-06 16:04:14.495998584 -0700
@@ -20,6 +20,7 @@
 #include <getopt.h>
 #include <netdb.h>
 #include <errno.h>
+#include <sys/stat.h>
 #include "xmalloc.h"
 #include "misc.h"
 #include "nfslib.h"
diff -Naur nfs-utils-1.1.6.orig/utils/mount/mount.c nfs-utils-1.1.6/utils/mount/mount.c
--- nfs-utils-1.1.6.orig/utils/mount/mount.c	2010-10-06 16:03:41.545000011 -0700
+++ nfs-utils-1.1.6/utils/mount/mount.c	2010-10-06 16:04:43.843999840 -0700
@@ -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 -Naur nfs-utils-1.1.6.orig/utils/mount/network.c nfs-utils-1.1.6/utils/mount/network.c
--- nfs-utils-1.1.6.orig/utils/mount/network.c	2010-10-06 16:03:41.545000011 -0700
+++ nfs-utils-1.1.6/utils/mount/network.c	2010-10-06 16:04:58.978000018 -0700
@@ -36,6 +36,7 @@
 
 #include <sys/types.h>
 #include <sys/socket.h>
+#include <sys/stat.h>
 #include <sys/wait.h>
 #include <netinet/in.h>
 #include <rpc/rpc.h>
