This is the mail archive of the libc-ports@sources.redhat.com mailing list for the libc-ports project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Remove PAGE_SIZE et al from sys/user.h


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."


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]