Blame SOURCES/0002-Add-missing-limits-include-to-fix-build-with-GCC-11.patch

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