This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Include all of <time.h> from <sched.h> for older standards (bug 16670)
- From: Andreas Schwab <schwab at linux-m68k dot org>
- To: "Joseph S. Myers" <joseph at codesourcery dot com>
- Cc: <libc-alpha at sourceware dot org>
- Date: Fri, 07 Mar 2014 19:55:34 +0100
- Subject: Re: Include all of <time.h> from <sched.h> for older standards (bug 16670)
- Authentication-results: sourceware.org; auth=none
- References: <Pine dot LNX dot 4 dot 64 dot 1403071829530 dot 6302 at digraph dot polyomino dot org dot uk>
"Joseph S. Myers" <joseph@codesourcery.com> writes:
> [BZ #16670]
> * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
> before #include of <time.h>.
> [!__USE_XOPEN2K] (__need_timespec): Likewise.
> * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
> (test-xfail-UNIX98/sched.h/conform): Likewise.
Looks good.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."