[Xcb-commit] src
Jeremy Huddleston
jeremyhu at kemper.freedesktop.org
Fri Apr 23 21:58:17 PDT 2010
src/xcb_util.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit d06857217328c2283a8956788d72646fc67216fb
Author: Jeremy Huddleston <jeremyhu at apple.com>
Date: Fri Apr 23 21:57:26 2010 -0700
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 at apple.com>
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>
More information about the xcb-commit
mailing list