Quoting erik quanstrom <quans...@quanstro.net>:

On Wed May 27 12:51:19 PDT 2015, cinap_len...@felloff.net wrote:
> A potential bug in APE sys/wait.h : the header does not make sure that pid_t
> has been defined.
> Compiling sbase on Plan9/APE ended up in situations where there were lots of
> compilation faliures simply because <sys/wait.h> was included without
> <sys/types.h> being included before.

fixed.

uh, i just read the open group spec. i did not see the requirement that wait.h define pid_t. if someone could site chapter and verse, i would be happy to add
the include, but it would seem hasty without a standards citation.

- erik

Which version?

"The id_t and pid_t types shall be defined as described in <sys/types.h>." in issue 6

"The <sys/wait.h> header shall define the id_t and pid_t types as described in <sys/types.h>." in issue 7

in the sys/wait.h part of the headers section of base definitions


khm


Reply via email to