Fix Xcb autodetection during configure.

Change-Id: I550e633d49cfcf4df393ae7d691e7f407276eb58
Reviewed-on: http://codereview.qt-project.org/4781
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
This commit is contained in:
Jędrzej Nowacki 2011-09-13 15:03:49 +02:00 committed by Qt by Nokia
parent 8e67ef4794
commit b0fa5d66ac
2 changed files with 10 additions and 0 deletions

View File

@ -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>

View File

@ -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>