Subject: Re: kern/5377: sys/system.h inludes lib/libkern/libkern.h for LKM too
To: None <grefen@hprc.tandem.com>
From: Chris G. Demetriou <cgd@pa.dec.com>
List: netbsd-bugs
Date: 04/29/1998 12:10:42
> 	Including sys/system.h outside the kernel tree with 
> 	_KERNEL defined tries to include lib/libkern/libkern.h and
> 	fails. 

Actually, this makes me wonder:

Why does it ever check _KERNEL at all?

systm.h is _only_ supposed to be used by kernel (including LKM)
sources.  including it from user-land is not correct...


cgd