If you are prepared to fix the 50 places this happens in-tree, and
the 100+ places it happens in ports.

Or, simply keep the header files clean.  Which dlg has failed to
do here.

> David Gwynne wrote:
> > CVSROOT:    /cvs
> > Module name:        src
> > Changes by: d...@cvs.openbsd.org    2016/09/08 20:00:14
> > 
> > Modified files:
> >     sys/sys        : tree.h 
> > 
> > Log message:
> > quick fix for (more) userland breakage.
> > 
> > netstat includes a bunch of stuff with _KERNEL defined around it, which
> > i used here to scope the kernel api. the kernel api needs NULL, which
> > the kernel gets from sys/param.h, which then pulls in a bunch of machine
> > stuff and then it all goes horribly wrong on sparc64.
> 
> we need a better define? Like _DETAILS which can be used more selectively?

Reply via email to