Subject: Re: errno conflict in kdump
To: None <itojun@iijlab.net>
From: Assar Westerlund <assar@netbsd.org>
List: tech-userlevel
Date: 12/20/2000 15:59:36
itojun@iijlab.net writes:
> >Module Name:	basesrc
> >Committed By:	jdolecek
> >Date:		Sun Dec 17 16:09:41 UTC 2000
> >
> >Modified Files:
> >	basesrc/usr.bin/kdump: kdump.c
> >	basesrc/usr.bin/ktrace: ktrace.h subr.c
> >
> >Log Message:
> >add support for KTR_USER records
> 
> 	usr.bin/kdump does not compile for me, due to the use of "errno"
> 	as member name.  in /usr/include/errno.h "errno" is #defined to be
> 	a funcion call.

I think the problem was actually introduced in signal.h:1.21.  Either
add "#undef errno" or rename the field to something else.  Dunno which
is cleaner.

/assar