summaryrefslogtreecommitdiff
path: root/src/xcb_util.c
diff options
context:
space:
mode:
authorJeremy Huddleston <jeremyhu@apple.com>2010-04-23 21:57:26 -0700
committerJeremy Huddleston <jeremyhu@apple.com>2010-04-23 21:57:26 -0700
commitd06857217328c2283a8956788d72646fc67216fb (patch)
treead3e1bd735cf6c2481b75fc1226962f3d961f21b /src/xcb_util.c
parent89b3485dadef47a30264a5bf150b96522183376b (diff)
Use limits.h instead of syslimits.h
Regression found by tinderbox in 89b3485dadef47a30264a5bf150b96522183376b xcb_util.c:31:27: error: sys/syslimits.h: No such file or directory xcb_util.c: In function '_xcb_open': xcb_util.c:148: error: 'PATH_MAX' undeclared (first use in this function) Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
Diffstat (limited to 'src/xcb_util.c')
-rw-r--r--src/xcb_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xcb_util.c b/src/xcb_util.c
index b337d27..287f12f 100644
--- a/src/xcb_util.c
+++ b/src/xcb_util.c
@@ -28,7 +28,7 @@
#include <assert.h>
#include <sys/types.h>
#include <sys/socket.h>
-#include <sys/syslimits.h>
+#include <limits.h>
#include <sys/un.h>
#include <netinet/in.h>
#include <netinet/tcp.h>