summaryrefslogtreecommitdiffstats
path: root/usr.bin/fstat
diff options
context:
space:
mode:
authorgrog <grog@FreeBSD.org>2001-04-23 08:11:54 +0000
committergrog <grog@FreeBSD.org>2001-04-23 08:11:54 +0000
commit119c82ccab4501470db66696d6779530670f72e3 (patch)
treed0e22c974527930fb088b6f31027409fb3e896d4 /usr.bin/fstat
parentcf8444b7ac8330e4dae60d907f3eb44f86fbba0d (diff)
downloadFreeBSD-src-119c82ccab4501470db66696d6779530670f72e3.zip
FreeBSD-src-119c82ccab4501470db66696d6779530670f72e3.tar.gz
Include correct header files, in preparation for fixing sys/mount.h.
Suggested-by: phk
Diffstat (limited to 'usr.bin/fstat')
-rw-r--r--usr.bin/fstat/fstat.c1
-rw-r--r--usr.bin/fstat/msdosfs.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/usr.bin/fstat/fstat.c b/usr.bin/fstat/fstat.c
index 49bc0801..45ef13e 100644
--- a/usr.bin/fstat/fstat.c
+++ b/usr.bin/fstat/fstat.c
@@ -51,6 +51,7 @@ static const char rcsid[] =
#include <sys/user.h>
#include <sys/stat.h>
#include <sys/vnode.h>
+#include <net/radix.h>
#include <sys/socket.h>
#include <sys/socketvar.h>
#include <sys/domain.h>
diff --git a/usr.bin/fstat/msdosfs.c b/usr.bin/fstat/msdosfs.c
index 809477d..bf29df5 100644
--- a/usr.bin/fstat/msdosfs.c
+++ b/usr.bin/fstat/msdosfs.c
@@ -42,6 +42,8 @@
#include <sys/vnode.h>
#define _KERNEL
+#include <net/radix.h>
+#include <sys/socket.h>
#include <sys/mount.h>
#include <msdosfs/bpb.h>
#include <msdosfs/msdosfsmount.h>
OpenPOWER on IntegriCloud