#include files which need other #include files

Michael Elizabeth Chastain (mec@duracef.shout.net)
Wed, 18 Oct 1995 03:52:50 -0500


Hey fellow hackers,

When you write header files for 'include/linux', please #include the
files you need to get the types you need.

It's annoying to include '<linux/foo.h>' and track down the hard way
that it needs '<linux/bar.h>'.

Also, the 'strace' build procedure scans all the files in
'/usr/include/linux/*.h' for patterns that look like ioctl definitions
and then includes exactly these files. If these files rely on type
definitions in other files without including them, then 'strace'
*won't build*.

Michael Chastain
mec@duracef.shout.net