Subject: Re: more #include problems (fwd)
To: None <tech-kern@netbsd.org>
From: Christos Zoulas <christos@zoulas.com>
List: tech-kern
Date: 07/02/1999 17:37:02
In article <199907021416.QAA24283@cauchy.cs.uni-bonn.de>,
Ignatios Souvatzis <ignatios@cs.uni-bonn.de> wrote:
>Would anything break if these were added?

>> 
>> There are days when I wonder if anyone else in the world actually runs lint
>> anymore....
>> 
>> While building nn-7alpha, I discover:
>> 
>> socket.h:261: warning: struct iovec never defined
>> wait.h:151: warning: struct rusage never defined

This is a bogus warning. Why does it complain about the structures
never been defined is beyond me. If you want to use iovec's you
need to include <sys/uio.h>. If you want to play with rusage shit,
you include <sys/resource.h>.

christos