On Tue, Aug 09, 2005 at 11:49:57PM +0200, Dirk Gouders wrote: > Hello, > > 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. > > 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 -- 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
pgpfYSHJao4Sc.pgp
Description: PGP signature

