From: Debian Qt/KDE Maintainers Date: Sat, 2 Apr 2022 18:23:38 +0000 (+0100) Subject: include to fix some GCC 11 build issues X-Git-Tag: archive/raspbian/5.15.2+dfsg-16+rpi1^2~28 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=536d1b0d6de6946970b1338798b7f4217f752d0a;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