This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Define struct rusage in sys/wait.h when required (bug 21575)
- From: Andreas Schwab <schwab at suse dot de>
- To: Joseph Myers <joseph at codesourcery dot com>
- Cc: <libc-alpha at sourceware dot org>
- Date: Mon, 19 Jun 2017 13:56:41 +0200
- Subject: Re: Define struct rusage in sys/wait.h when required (bug 21575)
- Authentication-results: sourceware.org; auth=none
- References: <alpine.DEB.2.20.1706131951290.25027@digraph.polyomino.org.uk>
On Jun 13 2017, Joseph Myers <joseph@codesourcery.com> wrote:
> [BZ #21575]
> * resource/bits/types/struct_rusage.h: New file.
> * include/bits/types/struct_rusage.h: Likewise.
> * bits/resource.h (struct rusage): Include
> <bits/types/struct_rusage.h> instead of defining here.
> * sysdeps/unix/sysv/linux/bits/resource.h (struct rusage):
> Likewise.
> * sysdeps/unix/sysv/linux/alpha/bits/resource.h (struct rusage):
> Likewise.
> * sysdeps/unix/sysv/linux/mips/bits/resource.h (struct rusage):
> Likewise.
> * sysdeps/unix/sysv/linux/sparc/bits/resource.h (struct rusage):
> Likewise.
> * resource/Makefile (headers): Add bits/types/struct_rusage.h.
> * posix/sys/wait.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8]:
> Include <bits/types/struct_rusage.h>
Ok.
Andreas.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."