Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Jun 2011 09:57:49 +0300
From:      Kostik Belousov <kostikbel@gmail.com>
To:        Dimitry Andric <dim@freebsd.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r223029 - head/usr.sbin/makefs/ffs
Message-ID:  <20110613065749.GT48734@deviant.kiev.zoral.com.ua>
In-Reply-To: <201106130104.p5D140VF048748@svn.freebsd.org>
References:  <201106130104.p5D140VF048748@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--nj/v3niR77Tv8XPp
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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
>=20
> Log:
>   Apparently makefs needs a few more system headers to compile during
>   buildworld.
>=20
> Modified:
>   head/usr.sbin/makefs/ffs/ffs_bswap.c
>   head/usr.sbin/makefs/ffs/ffs_subr.c
>=20
> Modified: head/usr.sbin/makefs/ffs/ffs_bswap.c
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D
> --- head/usr.sbin/makefs/ffs/ffs_bswap.c	Mon Jun 13 00:55:29 2011	(r22302=
8)
> +++ head/usr.sbin/makefs/ffs/ffs_bswap.c	Mon Jun 13 01:04:00 2011	(r22302=
9)
> @@ -35,6 +35,8 @@ __FBSDID("$FreeBSD$");
> =20
>  #include <sys/param.h>
>  #include <sys/queue.h>
> +#include <sys/lock.h>
> +#include <sys/lockmgr.h>
>  #if defined(_KERNEL)
>  #include <sys/systm.h>
>  #endif
>=20
> Modified: head/usr.sbin/makefs/ffs/ffs_subr.c
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D
> --- 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$");
> =20
>  #include <sys/param.h>
> +#include <sys/queue.h>
> +#include <sys/lock.h>
> +#include <sys/lockmgr.h>
> =20
>  #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.

--nj/v3niR77Tv8XPp
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (FreeBSD)

iEYEARECAAYFAk31tO0ACgkQC3+MBN1Mb4gPwwCfSh7OJgVt8bSMx8ly7aavTzoq
uLgAnifIUYmgTteu2XDKb4z1r4ucQzXx
=6lCG
-----END PGP SIGNATURE-----

--nj/v3niR77Tv8XPp--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110613065749.GT48734>