From owner-freebsd-hackers@FreeBSD.ORG Tue Aug 9 22:01:35 2005 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A033016A420 for ; Tue, 9 Aug 2005 22:01:35 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6B4C643D67 for ; Tue, 9 Aug 2005 22:01:32 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.13.0/8.13.0) with ESMTP id j79M1LW2015987; Tue, 9 Aug 2005 15:01:22 -0700 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.13.0/8.13.0/Submit) id j79M1Lfw015986; Tue, 9 Aug 2005 15:01:21 -0700 Date: Tue, 9 Aug 2005 15:01:21 -0700 From: Brooks Davis To: Dirk Gouders Message-ID: <20050809220121.GB15004@odin.ac.hmc.edu> References: <200508092149.j79Lnvn8013382@sora.hank.home> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="mxv5cy4qt+RJ9ypb" Content-Disposition: inline In-Reply-To: <200508092149.j79Lnvn8013382@sora.hank.home> User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new X-Spam-Status: No, hits=0.0 required=8.0 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on odin.ac.hmc.edu Cc: hackers@freebsd.org Subject: Re: Include files that depend on include files X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Aug 2005 22:01:35 -0000 --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--