Subject: Re: NetBSD master CVS tree commits
To: None <source@NetBSD.ORG>
From: Chris G Demetriou <>
List: current-users
Date: 09/20/1996 18:58:06
> christos
> Fri Sep 20 18:11:39 EDT 1996
> Update of /a/cvsroot/src/sys/sys
> In directory netbsd1:/var/slash-tmp/cvs-serv26204
> Modified Files:
> 	systm.h 
> Log Message:
> Add fwd struct declarations and protect include of libkern.h

OK, i'll bite.

When should system.h be included in user-land code, since it's
prototypes and declarations for _kernel_ code which won't be available
in user-land environments.

short answer:

systm.h should _never_ be included by user-land code.

If this is to fix ffs_subr.c, then fix ffs_subr.c to not include
systm.h if !_KERNEL.