qmlprofiler: Add missing #include <limits>.
authorFriedemann Kleint <Friedemann.Kleint@theqtcompany.com>
Tue, 28 Jul 2015 13:58:07 +0000 (15:58 +0200)
committerFriedemann Kleint <Friedemann.Kleint@theqtcompany.com>
Tue, 28 Jul 2015 14:11:33 +0000 (14:11 +0000)
Fixes the build with VS 2008 (Desktop).

Change-Id: I8c9682526754586ea6f597f540a4d5b42363f052
Reviewed-by: Ulf Hermann <ulf.hermann@theqtcompany.com>
tools/qmlprofiler/qmlprofilerclient.cpp
tools/qmlprofiler/qmlprofilerdata.cpp

index 711ddbd8621f74699db2c34100ae57aad87dceba..e9298f226a5e5fc9228fb55554e52ce51948d174 100644 (file)
@@ -36,6 +36,8 @@
 #include <QtCore/QStack>
 #include <QtCore/QStringList>
 
+#include <limits>
+
 ProfilerClient::ProfilerClient(const QString &clientName,
                              QQmlDebugConnection *client)
     : QQmlDebugClient(clientName, client),
index c5992652f83877390a9af8606a883363184fb254..76d06cf564a27a4e4e39b50090e67f8c3f3b2b0a 100644 (file)
@@ -39,6 +39,8 @@
 #include <QFile>
 #include <QXmlStreamReader>
 
+#include <limits>
+
 const char PROFILER_FILE_VERSION[] = "1.02";
 
 static const char *RANGE_TYPE_STRINGS[] = {