Include files that depend on include files

Dirk Gouders gouders at et.bocholt.fh-ge.de
Tue Aug 9 21:48:36 GMT 2005


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"?

Dirk


More information about the freebsd-hackers mailing list