Fix compilation on Harmattan
authorSimon Hausmann <simon.hausmann@nokia.com>
Mon, 3 Oct 2011 13:22:14 +0000 (15:22 +0200)
committerQt by Nokia <qt-info@nokia.com>
Mon, 3 Oct 2011 13:31:42 +0000 (15:31 +0200)
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>
src/platformsupport/eglconvenience/qxlibeglintegration.cpp

index aeebd35..e9eb0ba 100644 (file)
@@ -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)