A number of header files in sys/* have, going back to 7th Edition Unix,
in 1979, reqiured other files (like sys/types.h) to compile. However, going backLikewise
to around the turn of the centurythe 4BSD networking code has had prerequisites. However, other systems have made them begoing back to
independently includable.around the turn of the century, Start down the path of makingother systems have made them allbe
independently includable by creating this test that fails buildworld(wide-spread header include protection
when they are not.
Currently, this is one big ugly list. That's unavoidable as less thanpost-dates 7th edition Unix by maybe 4 or 5 years judging from netnews
half of the sys/* files are independensources). Start down the path of making them all independently
includable by creating this test that fails buildworld when they are
not.
Sponsored by: NetflixThe file 'goodfiles.inc' contains a list of the currently working files
that can be included w/o any prerequisites. As files are fixed, 'make
goodfiles.inc' should be re-run to regenerate the list. That target
should never be run when files have broken.