[PATCH:xauth v2] include POSIX-standard limits.h for PATH_MAX instead of sys/syslimits.h

Jeremy Sequoia jeremyhu at apple.com
Sat Jan 3 15:02:35 PST 2015


Reviewed-by: Jeremy Huddleston Sequoia <jeremyhu at apple.com>

Sent from my iPhone...

> On Jan 3, 2015, at 10:52, Alan Coopersmith <alan.coopersmith at oracle.com> wrote:
> 
> Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
> ---
> gethost.c  |    2 +-
> parsedpy.c |    2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/gethost.c b/gethost.c
> index c75ae02..a86d39e 100644
> --- a/gethost.c
> +++ b/gethost.c
> @@ -58,7 +58,7 @@ in this Software without prior written authorization from The Open Group.
> #include "xauth.h"
> 
> #include <sys/stat.h>
> -#include <sys/syslimits.h>
> +#include <limits.h>
> 
> #ifndef WIN32
> #include <arpa/inet.h>
> diff --git a/parsedpy.c b/parsedpy.c
> index 7365224..70c85ce 100644
> --- a/parsedpy.c
> +++ b/parsedpy.c
> @@ -43,7 +43,7 @@ in this Software without prior written authorization from The Open Group.
> #include <X11/Xmu/SysUtil.h>
> 
> #include <sys/stat.h>
> -#include <sys/syslimits.h>
> +#include <limits.h>
> 
> #if defined(UNIXCONN) || defined(LOCALCONN)
> #define UNIX_CONNECTION "unix"
> -- 
> 1.7.9.2
> 


More information about the xorg-devel mailing list