[PATCH] pthread.h: include <time.h>

Christopher Faylor cgf-use-the-mailinglist-please@cygwin.com
Sun Feb 12 22:28:00 GMT 2012


On Sun, Feb 12, 2012 at 04:04:02PM -0600, Yaakov (Cygwin/X) wrote:
>POSIX states:
>> Inclusion of the <pthread.h> header shall make symbols defined in the
>> headers <sched.h> and <time.h> visible.
>
>The reason being that some pthread functions take a clockid_t argument,
>and the CLOCK_* symbolic names are therein defined.
>
>Patch attached.

Looks good.  Please check in.

Thanks.

cgf



More information about the Cygwin-patches mailing list