From 57050dc510d000d442673f264d7966fc90d995e1 Mon Sep 17 00:00:00 2001 From: Matthieu Herrb Date: Mon, 14 Apr 2014 19:02:18 +0000 Subject: Update libxcb to version 1.10. Tested by naddy@ and shadchin@. --- dist/libxcb/src/xcb_util.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'dist/libxcb/src/xcb_util.c') diff --git a/dist/libxcb/src/xcb_util.c b/dist/libxcb/src/xcb_util.c index 463d085f6..466dc23bc 100644 --- a/dist/libxcb/src/xcb_util.c +++ b/dist/libxcb/src/xcb_util.c @@ -168,7 +168,11 @@ static int _xcb_open_abstract(char *protocol, const char *file, size_t filelen); static int _xcb_open(const char *host, char *protocol, const int display) { int fd; +#ifdef __hpux + static const char unix_base[] = "/usr/spool/sockets/X11/"; +#else static const char unix_base[] = "/tmp/.X11-unix/X"; +#endif const char *base = unix_base; size_t filelen; char *file = NULL; -- cgit v1.2.3