Fix build with Mesa EGL

Mesa EGL headers include X11 headers, which may #define Bool.

Change-Id: I17379c24bfb7bac809b92f4c2a41298de00a972c
Reviewed-by: Andrew den Exter <andrew.den.exter@qinetic.com.au>
This commit is contained in:
Thiago Macieira
2014-07-29 22:14:16 -07:00
parent 35df77c88c
commit e16ac8b55c

View File

@@ -50,6 +50,10 @@
#include <EGL/egl.h>
#include <EGL/eglext.h>
#ifdef Bool
# undef Bool
#endif
QT_BEGIN_NAMESPACE
class QSGVideoMaterial_EGL : public QSGMaterial