summaryrefslogtreecommitdiffstats
path: root/config.tests/qpa/xcb/xcb.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'config.tests/qpa/xcb/xcb.cpp')
-rw-r--r--config.tests/qpa/xcb/xcb.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/config.tests/qpa/xcb/xcb.cpp b/config.tests/qpa/xcb/xcb.cpp
index 71b30fea5a..50fb86fc62 100644
--- a/config.tests/qpa/xcb/xcb.cpp
+++ b/config.tests/qpa/xcb/xcb.cpp
@@ -40,7 +40,12 @@
****************************************************************************/
#include <xcb/xcb.h>
+
+// FIXME This workaround can be removed for xcb-icccm > 3.8
+#define class class_name
#include <xcb/xcb_icccm.h>
+#undef class
+
#include <xcb/xfixes.h>
#include <xcb/xcb_image.h>
#include <xcb/xcb_keysyms.h>