summaryrefslogtreecommitdiffstats
path: root/src/platformsupport/eglconvenience/qxlibeglintegration.cpp
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@nokia.com>2011-10-03 15:22:14 +0200
committerQt by Nokia <qt-info@nokia.com>2011-10-03 15:31:42 +0200
commit43c548d2a6b877b30d9da6bc6273aa9dabe61622 (patch)
tree22bb507b479768c2ad79dd54766f50a2b99f4ff9 /src/platformsupport/eglconvenience/qxlibeglintegration.cpp
parent9557395c96d4debc07c257a82c962ac97dada514 (diff)
Fix compilation on Harmattan
Include X11 headers to get VisualID and other "types". Change-Id: Idbb323329d346726b98312b1e02c9b199f2b7a65 Reviewed-on: http://codereview.qt-project.org/5928 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
Diffstat (limited to 'src/platformsupport/eglconvenience/qxlibeglintegration.cpp')
-rw-r--r--src/platformsupport/eglconvenience/qxlibeglintegration.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/platformsupport/eglconvenience/qxlibeglintegration.cpp b/src/platformsupport/eglconvenience/qxlibeglintegration.cpp
index aeebd35d21..e9eb0ba0b4 100644
--- a/src/platformsupport/eglconvenience/qxlibeglintegration.cpp
+++ b/src/platformsupport/eglconvenience/qxlibeglintegration.cpp
@@ -39,6 +39,9 @@
**
****************************************************************************/
+#include <X11/X.h>
+#include <X11/Xlib.h>
+#include <X11/Xutil.h>
#include "qxlibeglintegration_p.h"
static int countBits(unsigned long mask)