Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Aug 2005 15:01:21 -0700
From:      Brooks Davis <brooks@one-eyed-alien.net>
To:        Dirk Gouders <gouders@et.bocholt.fh-ge.de>
Cc:        hackers@freebsd.org
Subject:   Re: Include files that depend on include files
Message-ID:  <20050809220121.GB15004@odin.ac.hmc.edu>
In-Reply-To: <200508092149.j79Lnvn8013382@sora.hank.home>
References:  <200508092149.j79Lnvn8013382@sora.hank.home>

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

--mxv5cy4qt+RJ9ypb
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Aug 09, 2005 at 11:49:57PM +0200, Dirk Gouders wrote:
> Hello,
>=20
> I am currently playing with the KLD facility on a 4.11-STABLE system
> and noticed that there are some include files that need other files
> included before them, e.g. sys/module.h and sys/linker.h cannot be
> preprocessed/compiled without including other necessary files before
> them.
>=20
> Is that intentional?  And if yes, is there a difference of such
> a "rule" between "kernel include files" and those that are normally
> included in "user space code"?

This is intentational.  We try to avoid having headers bring in more
then absolutly required when included.  I'm not sure what your second
question means.

-- Brooks

--=20
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4

--mxv5cy4qt+RJ9ypb
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFC+SexXY6L6fI4GtQRAtTsAKDDJghv7sMY2PmZHaBKDDwYOt2YgQCfcytK
MYX/qfqM2/oVgawtC5v+WqE=
=0+dk
-----END PGP SIGNATURE-----

--mxv5cy4qt+RJ9ypb--



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