Subject: include opt_foo.h before using #ifdef FOO
To: None <tech-kern@NetBSD.ORG>
From: Martin Husemann <>
List: tech-kern
Date: 06/23/2003 13:24:32

I just commited a change trying to make sure every usage of a preprocessor
symbol FOO defined via defflag without an explicit opt_*.h filename does
have a preceeding include of opt_foo.h (the implicit name generated by

I used some scripts and id-utils to find all the places, but I'm sure I broke
one or two things on the way.

If anything fails, please let me know (or just fix it - should be trivial).