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.

Attachment: pgp0cy3EPbh0T.pgp
Description: PGP signature

Reply via email to