summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2015-01-02 09:49:52 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2015-01-05 09:39:48 -0800
commitad26f2137f6414c8cadc070f96a4476d435e994b (patch)
treeb4fe342fa43886cabfbf6fa1057658da74141ef1
parenta58c9d74c8f9c4292d367c6e23d15c4cba03dfde (diff)
downloadxorg-app-xauth-ad26f2137f6414c8cadc070f96a4476d435e994b.tar.gz
include POSIX-standard limits.h for PATH_MAX instead of sys/syslimits.h
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com> Reviewed-by: Mark Kettenis <kettenis@openbsd.org>
-rw-r--r--gethost.c2
-rw-r--r--parsedpy.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/gethost.c b/gethost.c
index e0dc8cb..8cb58c5 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 c638b26..97988d3 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"