svn commit: r223029 - head/usr.sbin/makefs/ffs
Kostik Belousov
kostikbel at gmail.com
Mon Jun 13 06:57:54 UTC 2011
On Mon, Jun 13, 2011 at 01:04:00AM +0000, Dimitry Andric wrote:
> Author: dim
> Date: Mon Jun 13 01:04:00 2011
> New Revision: 223029
> URL: http://svn.freebsd.org/changeset/base/223029
>
> Log:
> Apparently makefs needs a few more system headers to compile during
> buildworld.
>
> Modified:
> head/usr.sbin/makefs/ffs/ffs_bswap.c
> head/usr.sbin/makefs/ffs/ffs_subr.c
>
> Modified: head/usr.sbin/makefs/ffs/ffs_bswap.c
> ==============================================================================
> --- head/usr.sbin/makefs/ffs/ffs_bswap.c Mon Jun 13 00:55:29 2011 (r223028)
> +++ head/usr.sbin/makefs/ffs/ffs_bswap.c Mon Jun 13 01:04:00 2011 (r223029)
> @@ -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
>
> Modified: head/usr.sbin/makefs/ffs/ffs_subr.c
> ==============================================================================
> --- head/usr.sbin/makefs/ffs/ffs_subr.c Mon Jun 13 00:55:29 2011 (r223028)
> +++ head/usr.sbin/makefs/ffs/ffs_subr.c Mon Jun 13 01:04:00 2011 (r223029)
> @@ -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>
I suspect it is easier and less controversial to put the structure
under #ifdef _KERNEL braces instead.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/svn-src-head/attachments/20110613/865ffb52/attachment.pgp
More information about the svn-src-head
mailing list