summaryrefslogtreecommitdiffstats
path: root/usr.sbin/makefs/ffs
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2011-06-13 01:04:00 +0000
committerdim <dim@FreeBSD.org>2011-06-13 01:04:00 +0000
commit4e9fb4c6a0dc1d6cb0d71090abd7cb5aec5013ae (patch)
tree45b25d0d04c6072e0e5ca91ee786a11f75957ed0 /usr.sbin/makefs/ffs
parentb2272fb6fdcb16b4c0d0cd16c644120fc5fef8a0 (diff)
downloadFreeBSD-src-4e9fb4c6a0dc1d6cb0d71090abd7cb5aec5013ae.zip
FreeBSD-src-4e9fb4c6a0dc1d6cb0d71090abd7cb5aec5013ae.tar.gz
Apparently makefs needs a few more system headers to compile during
buildworld.
Diffstat (limited to 'usr.sbin/makefs/ffs')
-rw-r--r--usr.sbin/makefs/ffs/ffs_bswap.c2
-rw-r--r--usr.sbin/makefs/ffs/ffs_subr.c3
2 files changed, 5 insertions, 0 deletions
diff --git a/usr.sbin/makefs/ffs/ffs_bswap.c b/usr.sbin/makefs/ffs/ffs_bswap.c
index 04683a6..7049991 100644
--- a/usr.sbin/makefs/ffs/ffs_bswap.c
+++ b/usr.sbin/makefs/ffs/ffs_bswap.c
@@ -35,6 +35,8 @@ __FBSDID("$FreeBSD$");
#include <sys/param.h>
#include <sys/queue.h>
+#include <sys/lock.h>
+#include <sys/lockmgr.h>
#if defined(_KERNEL)
#include <sys/systm.h>
#endif
diff --git a/usr.sbin/makefs/ffs/ffs_subr.c b/usr.sbin/makefs/ffs/ffs_subr.c
index 5f9b6f2..19d3543 100644
--- a/usr.sbin/makefs/ffs/ffs_subr.c
+++ b/usr.sbin/makefs/ffs/ffs_subr.c
@@ -35,6 +35,9 @@
__FBSDID("$FreeBSD$");
#include <sys/param.h>
+#include <sys/queue.h>
+#include <sys/lock.h>
+#include <sys/lockmgr.h>
#include <ufs/ufs/dinode.h>
#include <ufs/ffs/fs.h>
OpenPOWER on IntegriCloud