summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/xcb/qxcbbackingstore.cpp
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2012-02-19 10:02:11 +0100
committerQt by Nokia <qt-info@nokia.com>2012-03-22 18:59:45 +0100
commit07029c23f155616b2e31fe557d0c2d6d8def774b (patch)
tree6fec414bc07a27a29c398cc3369f2dc972747f8c /src/plugins/platforms/xcb/qxcbbackingstore.cpp
parent228392aff231f105116738df6c4286af257407c7 (diff)
Fix compilation: std::min is in <algorithm>
Change-Id: I89227bb9fca0f081a232c2ede10c4d455edb2ee9 Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
Diffstat (limited to 'src/plugins/platforms/xcb/qxcbbackingstore.cpp')
-rw-r--r--src/plugins/platforms/xcb/qxcbbackingstore.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/platforms/xcb/qxcbbackingstore.cpp b/src/plugins/platforms/xcb/qxcbbackingstore.cpp
index b7369525a5..6e90594631 100644
--- a/src/plugins/platforms/xcb/qxcbbackingstore.cpp
+++ b/src/plugins/platforms/xcb/qxcbbackingstore.cpp
@@ -58,6 +58,7 @@
#include <qpainter.h>
#include <qscreen.h>
+#include <algorithm>
QT_BEGIN_NAMESPACE
class QXcbShmImage : public QXcbObject