Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: syssrc



Hubert Feyrer <feyrer%rfhs8012.fh-regensburg.de@localhost> 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



Home | Main Index | Thread Index | Old Index