Subject: pstat.c change
To: None <current-users@NetBSD.ORG>
From: Todd Vierling <>
List: current-users
Date: 06/26/1998 12:53:45
On Fri, 26 Jun 1998, NetBSD source changes wrote:

: src/usr.sbin/pstat/pstat.c
:     (hannken - Fri Jun 26 07:17:02 PDT 1998)
:     Make it compile again. Include <sys/socket.h> before setting _KERNEL.
:     Otherwise the chain pstat.c -> <sys/mount.h> -> <sys/socket.h> fails
:     with 'opt_compat_freebsd.h: No such file or directory' ...

Actually, the change should be that pstat.c set both _KERNEL and _LKM - the
latter should disable "opt_*" files.  If you just try to rearrange include
files, this will eventually break again.

-- Todd Vierling (Personal; Bus.