Source-Changes-D archive

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

Re: CVS commit: src/share/misc



In article <20120703163503.43342982AB%pluto.mumble.net@localhost>,
Taylor R Campbell  <riastradh%NetBSD.org@localhost> wrote:
>   Date: Sun, 1 Jul 2012 05:49:06 +0000
>   From: David Holland <dholland-sourcechanges%netbsd.org@localhost>
>
>   erm... sys/types.h is supposed to be first.
>
>   and, as sys/param.h includes sys/types.h, normally one should not use
>   both.
>
>Well, foo.  I was just doing what christos suggested.  I am generally
>very leery of relying on transitive inclusion, but whatever is the
>right rule, can we have it written down here?

It does not really matter, since the only system where <sys/param.h>
needed to be included before <sys/types.h> (I even forget why) was 4.2BSD
and this has long been retired.

christos



Home | Main Index | Thread Index | Old Index