Subject: Re: kern/2523: audio(4) nits
To: der Mouse <mouse@Collatz.McRCIM.McGill.EDU>
From: John Hawkinson <jhawk@mit.edu>
List: netbsd-bugs
Date: 06/08/1996 11:26:48
> From: der Mouse <mouse@Collatz.McRCIM.McGill.EDU>
> To: gnats-bugs@NetBSD.ORG

> > >Description:
> > 	audio(4) leaves out #include of <sys/types.h>, and [...]
> 
> Isn't this really a bug in <sys/audioio.h>?  I've always thought that
> include files should include anything they depend upon - is this not
> the prevailing philosophy here?

It is certainly NOT the prevailing philosophy.

By such an argument, BTW, almost no one should be including
sys/types.h...

In any case, there are a pretty significant number of manpages that
tell you to do so -- for instance, in section 4 bpf(4), inet(4),
iso(4), and unix(4) all tell you to do this [you can check other
sections yourself...].

It would be a pretty hefty change to go through and modify this lots
of places, and would lead to lots of programs #including it twice (on
the grand scheme of things extra inclusion of files protected against
multiple inclusion just isn't that big a deal, I'll admit, but it does
have some aesthetic detriment associated with it).

--jhawk
  John Hawkinson