Subject: Re: Build failure for pmap(1)
To: None <port-arm@netbsd.org>
From: Hiroyuki Bessho <bsh@grotto.jp>
List: port-arm
Date: 09/13/2002 04:47:12
"Chris Gilbert" <chris@dokein.co.uk> writes:

> I stumbled on this a while back with lsof I think.  I think it's tied
> closely enough to the kernel that it could define _KERNEL (I should really
> have a look at what it does at some point)
>

    Why do we need to protect things with #ifdef _KERNEL in
<machine/vmparam.h>?  Other ports doesn't have such protection.

    Usual userland programs don't include vmparam.h.  So, just
removing #ifdef _KERNEL from <machine/vmparam.h> seems a good fix to
me.

--
bsh.