]> git.sur5r.net Git - i3/i3/commitdiff
i3bar: include xcb_compat.h for older XCB versions (Thanks motif)
authorMichael Stapelberg <michael@stapelberg.de>
Mon, 10 Oct 2011 10:37:43 +0000 (11:37 +0100)
committerMichael Stapelberg <michael@stapelberg.de>
Mon, 10 Oct 2011 10:37:56 +0000 (11:37 +0100)
i3bar/src/xcb.c

index 9f3dd1879bc912c099f8bd2920f6a6525f78dbc4..bb78d5e9cb748136b22bfcbed67ba95f7ad9b403 100644 (file)
 #include <xcb/xcb.h>
 #include <xcb/xproto.h>
 #include <xcb/xcb_atom.h>
+
+#ifdef XCB_COMPAT
+#include "xcb_compat.h"
+#endif
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <unistd.h>