Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Oct 2000 23:03:50 -0400 (EDT)
From:      Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
To:        Marcel Moolenaar <marcel@cup.hp.com>
Cc:        current@FreeBSD.ORG
Subject:   Re: XFree86 3.3.6_3 build dies on -current
Message-ID:  <200010270303.XAA24771@khavrinen.lcs.mit.edu>
In-Reply-To: <39F870B1.D9FFFB6B@cup.hp.com>
References:  <39F59863.803D40E9@freebsd.org> <39F7CD64.771B6436@cup.hp.com> <vqclmvcm312.fsf@silvia.hip.berkeley.edu> <39F870B1.D9FFFB6B@cup.hp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
<<On Thu, 26 Oct 2000 13:58:09 -0400, Marcel Moolenaar <marcel@cup.hp.com> said:

> Eventually yes, but not this way. According to Bruce sys/types is a
> prerequisite for sys/wait.

This is currently true, but should be fixed this year (probably not
this month -- it depends on how much energy I have).

Draft 4 (draft 5 isn't out yet) of POSIX.1-200x says the following
(p. 411, ll. 13759 et seq):

	The id_t and pid_t types shall be defined as described in
	<sys/types.h>.
[begin XSI]
	The siginfo_t type shall be defined as described in
	<signal.h>.
	The rusage structure shall be defined as described in
	<sys/resource.h>.
	Inclusion of the <sys/wait.h> header may also make visible all
	symbols from <signal.h> and <sys/resource.h>.
[end XSI]

So, <sys/types.h> is not a prerequisite for 1003.1-200x's
<sys/wait.h>.  For the XSI extension, implementors are given special
license for certain XSI-required data types (which, being structures,
are somewhat impractical to define in the usual way); in a pure-POSIX
environment <sys/types.h> is not permitted.  According to the revision
history (p. 412), this is a requirement carried over from SUSv2 and
dates back to XPG4v2.

-GAWollman

--
Garrett A. Wollman   | O Siem / We are all family / O Siem / We're all the same
wollman@lcs.mit.edu  | O Siem / The fires of freedom 
Opinions not those of| Dance in the burning flame
MIT, LCS, CRS, or NSA|                     - Susan Aglukark and Chad Irschick


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200010270303.XAA24771>