Subject: Re: struct msgbuf contents.
To: Simon Burge <simonb@NetBSD.ORG>
From: Chris G. Demetriou <cgd@sibyte.com>
List: tech-kern
Date: 06/14/2000 17:19:35
Simon Burge <simonb@NetBSD.ORG> writes:
> That crossed my mind, but what if some random file included
> <sys/msgbuf.h> before <sys/types.h> and then didn't see the define?
> By making it a mandatory define you wouldn't get this problem...

i'm sure that some would say "if sys/msgbuf.h needs sys/types.h
included first, then it should include it...

for the kernel, at least, it _does_ need defns of caddr_t and size_t,
as well as __P...


cgd