i3bar: include xcb_compat.h for older XCB versions (Thanks motif)

This commit is contained in:
Michael Stapelberg 2011-10-10 11:37:43 +01:00
parent 1942594ae9
commit c5e9527abc
1 changed files with 5 additions and 0 deletions

View File

@ -13,6 +13,11 @@
#include <xcb/xcb.h> #include <xcb/xcb.h>
#include <xcb/xproto.h> #include <xcb/xproto.h>
#include <xcb/xcb_atom.h> #include <xcb/xcb_atom.h>
#ifdef XCB_COMPAT
#include "xcb_compat.h"
#endif
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <unistd.h> #include <unistd.h>