1116301
From 4f08a2da5b0da675cf6a75683a43a106f5a1e7b8 Mon Sep 17 00:00:00 2001
1116301
From: Antonio Rojas <arojas@archlinux.org>
1116301
Date: Sun, 23 May 2021 14:32:46 +0200
1116301
Subject: [PATCH 26/28] Add missing limits include to fix build with GCC 11
1116301
1116301
This is not required for Qt 6, since it is indirectly pulled via
1116301
qanystrigview.h, but it is for Qt 5 (where qanystrigview does
1116301
not exist) and, in any case, it is good to declare all used headers
1116301
and not rely on them being implicitly pulled.
1116301
1116301
Pick-to: 6.1 5.15
1116301
Change-Id: I97606ea493e723006759608b7d4c4f00632f340c
1116301
Reviewed-by: Albert Astals Cid <albert.astals.cid@kdab.com>
1116301
(cherry picked from commit 367293b18ab0d0a0432c1c8ce445fee052e5eee5)
1116301
---
1116301
 src/qmldebug/qqmlprofilerevent_p.h | 1 +
1116301
 1 file changed, 1 insertion(+)
1116301
1116301
diff --git a/src/qmldebug/qqmlprofilerevent_p.h b/src/qmldebug/qqmlprofilerevent_p.h
1116301
index a7e37d1964..01b2f58f16 100644
1116301
--- a/src/qmldebug/qqmlprofilerevent_p.h
1116301
+++ b/src/qmldebug/qqmlprofilerevent_p.h
1116301
@@ -48,6 +48,7 @@
1116301
 #include <QtCore/qmetatype.h>
1116301
 
1116301
 #include <initializer_list>
1116301
+#include <limits>
1116301
 #include <type_traits>
1116301
 
1116301
 //
1116301
-- 
1116301
2.31.1
1116301