From: Debian Qt/KDE Maintainers Date: Mon, 21 Feb 2022 21:00:28 +0000 (+0000) Subject: include to fix some GCC 11 build issues X-Git-Tag: archive/raspbian/5.15.2+dfsg-15+rpi1^2~27 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=91ebae1d46e11f456015e6359a86b9a0de0a6e08;p=qtbase-opensource-src.git include to fix some GCC 11 build issues Origin: upstream, commits: https://code.qt.io/cgit/qt/qtbase.git/commit/?id=813a928c7c3cf986 https://code.qt.io/cgit/qt/qtbase.git/commit/?id=9c56d4da2ff631a8 Last-Update: 2021-01-26 Gbp-Pq: Name gcc_11_limits.diff --- diff --git a/src/corelib/global/qendian.h b/src/corelib/global/qendian.h index 257efbbdb..a97776c76 100644 --- a/src/corelib/global/qendian.h +++ b/src/corelib/global/qendian.h @@ -44,6 +44,8 @@ #include #include +#include + // include stdlib.h and hope that it defines __GLIBC__ for glibc-based systems #include #include diff --git a/src/corelib/global/qfloat16.h b/src/corelib/global/qfloat16.h index c7a9c87af..5302be072 100644 --- a/src/corelib/global/qfloat16.h +++ b/src/corelib/global/qfloat16.h @@ -43,6 +43,7 @@ #include #include +#include #include #if defined(QT_COMPILER_SUPPORTS_F16C) && defined(__AVX2__) && !defined(__F16C__) diff --git a/src/corelib/text/qbytearraymatcher.h b/src/corelib/text/qbytearraymatcher.h index 0eedfc1d2..f5f9bef7b 100644 --- a/src/corelib/text/qbytearraymatcher.h +++ b/src/corelib/text/qbytearraymatcher.h @@ -42,6 +42,8 @@ #include +#include + QT_BEGIN_NAMESPACE