summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMarcel Krems <m.krems@software-vision.eu>2017-05-31 12:08:14 +0200
committerGatis Paeglis <gatis.paeglis@qt.io>2017-06-02 10:30:13 +0000
commitf68e4b8c315d4d370e3418a7ad736783828a46bb (patch)
tree8fb2358d21f89a01fe0b6bc45fab26618ad57ec0 /src
parent7f2def3e575d6a5f852190670b007526ff01aa53 (diff)
XCB platform plugin: add missing include
89870a35bde2f67f9c371ba145e90b86d3e2dd1b introduced an usage of std::free without including cstdlib. Change-Id: I9b7ae1caf90bf22aae99cc0407347350c83181a2 Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> Reviewed-by: Gatis Paeglis <gatis.paeglis@qt.io>
Diffstat (limited to 'src')
-rw-r--r--src/plugins/platforms/xcb/qxcbconnection.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/platforms/xcb/qxcbconnection.h b/src/plugins/platforms/xcb/qxcbconnection.h
index 4ed07fb488..cb97a0be18 100644
--- a/src/plugins/platforms/xcb/qxcbconnection.h
+++ b/src/plugins/platforms/xcb/qxcbconnection.h
@@ -56,6 +56,7 @@
#include <QtCore/QLoggingCategory>
#include <QtCore/private/qglobal_p.h>
+#include <cstdlib>
#include <memory>
// This is needed to make Qt compile together with XKB. xkb.h is using a variable