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>bb10
parent
8e67ef4794
commit
b0fa5d66ac
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue