X-Git-Url: http://git.demorecorder.com/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fxcb_util.c;h=4ae9097e883c33a546bf765a2c13193c4fb85af4;hb=beccb0be15f5699c942a0af33307d9e4bf797e2a;hp=5bad16ae93239df923897d3f70cf0f33927e66f7;hpb=d79621b25ba6784135b1a3aa51e9561fcf72fe7f;p=free-sw%2Fxcb%2Flibxcb diff --git a/src/xcb_util.c b/src/xcb_util.c index 5bad16a..4ae9097 100644 --- a/src/xcb_util.c +++ b/src/xcb_util.c @@ -130,7 +130,9 @@ static int _xcb_open_abstract(char *protocol, const char *file); static int _xcb_open(char *host, char *protocol, const int display) { +#ifdef HAVE_ABSTRACT_SOCKETS int fd; +#endif static const char base[] = "/tmp/.X11-unix/X"; char file[sizeof(base) + 20];