Subject: more #include problems (fwd)
To: None <tech-kern@netbsd.org>
From: Ignatios Souvatzis <ignatios@cs.uni-bonn.de>
List: tech-kern
Date: 07/02/1999 16:16:35
Would anything break if these were added?
> Newsgroups: comp.unix.bsd.netbsd.misc,comp.unix.bsd.freebsd.misc
> Subject: more #include problems
> From: mtpins@visi.com (Michael T Pins)
> Message-ID: <eAQe3.765$U5.163015@ptah.visi.com>
> Date: Thu, 01 Jul 1999 20:54:34 GMT
>
>
> 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
>
>
> It turns out that sys/socket.h is missing it's:
> #include <sys/uio.h>
>
> And that sys/wait.h is missing it's:
> #include <sys/resource.h>
>
> And on FreeBSD, sys/resource.h is missing:
> #include <sys/time.h>
>
> This is on:
> NetBSD 1.4
> FreeBSD 2.2.8-RELEASE
>
> Hmm, it looks like they're all broken in the 4.4BSD-Lite2 distribution as
> well.
>
-is