Define struct rusage in sys/wait.h when required (bug 21575)
Andreas Schwab
schwab@suse.de
Mon Jun 19 11:56:00 GMT 2017
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."
More information about the Libc-alpha
mailing list