Subject: Re: CVS commit: syssrc
To: None <hubert.feyrer@informatik.fh-regensburg.de>
From: Klaus Klein <kleink@uni-trier.de>
List: source-changes
Date: 06/27/2000 14:02:38
Hubert Feyrer <feyrer@rfhs8012.fh-regensburg.de> writes:

> On 27 Jun 2000, Klaus Klein wrote:
> > > > Modified Files:
> > > > 	syssrc/sys/sys: mman.h
> > > > 
> > > > Log Message:
> > > > Provide local definitions of mode_t and off_t, thus eliminating the need
> > > > for an application to include <sys/types.h> first.
> > > Why not just pull in <sys/types.h> ?
> > I think you already provided the answer for this one.

> I meant, why not pull in <sys/types.h> in <sys/mman.h>?
> [...]
> NetBSD - because Unix isn't just #include <linux.h>, i386, ILP32, ELF, ...!

Judging from your signature I presumed this point to be clear: except
for few headers, <sys/types.h> carries far too much garbage as to be
(unconditionally) pulled in.


-kjk