summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@digia.com>2016-02-18 14:06:02 +0100
committerSimon Hausmann <simon.hausmann@theqtcompany.com>2016-02-19 17:08:43 +0000
commit9868d8af8316c01f28255110c28e11344ea6f7a5 (patch)
tree3d2f8e6192146990d92aef0bc699fdf52fbf634e
parent13034e67c0fa1a5ae1899dcb62869da42d84626f (diff)
xcb: include <cmath>
Fix trouble compiling with gcc 4.4.7 on Centos 6 Change-Id: Id81bd570e896507a07388257c4f75f80b4b468fd Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
-rw-r--r--src/plugins/platforms/xcb/qxcbconnection_xi2.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/platforms/xcb/qxcbconnection_xi2.cpp b/src/plugins/platforms/xcb/qxcbconnection_xi2.cpp
index 969b6deed0..81cdaa56c5 100644
--- a/src/plugins/platforms/xcb/qxcbconnection_xi2.cpp
+++ b/src/plugins/platforms/xcb/qxcbconnection_xi2.cpp
@@ -38,6 +38,7 @@
#include "qtouchdevice.h"
#include <qpa/qwindowsysteminterface.h>
#include <QDebug>
+#include <cmath>
#ifdef XCB_USE_XINPUT2