Subject: Re: missing #include ?
To: Jukka Salmi <j+nbsd@2006.salmi.ch>
From: Hubert Feyrer <hubert@feyrer.de>
List: tech-userlevel
Date: 12/10/2006 16:13:07
On Sun, 10 Dec 2006, Jukka Salmi wrote:
> While changing the third-party software to include sys/types.h fixes
> the problem, I think it's NetBSD's fault: net/pfil.h should know about
> `u_long' by including sys/types.h, shouldn't it?

IIRC we've had this discussion a few times before.
IIRC the concensus (decree?) was always that applications should know what 
headers are needed for a certain (other) header, to not pull in things 
that my not be needed.

(And no, I never understood that either, and always thought headers should 
pull in what they need, but that's just my personal, uneducated opinion)


  - Hubert