From e16ac8b55c36586aa67b1d4ec5e1b4edf03cd06b Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Tue, 29 Jul 2014 22:14:16 -0700 Subject: Fix build with Mesa EGL Mesa EGL headers include X11 headers, which may #define Bool. Change-Id: I17379c24bfb7bac809b92f4c2a41298de00a972c Reviewed-by: Andrew den Exter --- src/plugins/videonode/egl/qsgvideonode_egl.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/plugins/videonode/egl/qsgvideonode_egl.h b/src/plugins/videonode/egl/qsgvideonode_egl.h index 23294a123..a24b678d8 100644 --- a/src/plugins/videonode/egl/qsgvideonode_egl.h +++ b/src/plugins/videonode/egl/qsgvideonode_egl.h @@ -50,6 +50,10 @@ #include #include +#ifdef Bool +# undef Bool +#endif + QT_BEGIN_NAMESPACE class QSGVideoMaterial_EGL : public QSGMaterial -- cgit v1.2.3