This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
Re: [PATCH] Remove PAGE_SIZE et al from sys/user.h
- From: Andreas Schwab <schwab at linux-m68k dot org>
- To: Andrew Stubbs <ams at codesourcery dot com>
- Cc: "libc-ports\ at sourceware dot org" <libc-ports at sourceware dot org>
- Date: Fri, 13 Dec 2013 16:43:11 +0100
- Subject: Re: [PATCH] Remove PAGE_SIZE et al from sys/user.h
- Authentication-results: sourceware.org; auth=none
- References: <52AB0851 dot 1020909 at codesourcery dot com>
Andrew Stubbs <ams@codesourcery.com> writes:
> diff --git a/stdlib/tst-limits.c b/stdlib/tst-limits.c
> index 265b9db..96fb25e 100644
> --- a/stdlib/tst-limits.c
> +++ b/stdlib/tst-limits.c
> @@ -5,6 +5,8 @@
> #include <inttypes.h>
> #include <stdio.h>
>
> +/* For PAGE_SIZE. */
> +#include <sys/user.h>
This has no place in stdlib.
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."