diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2021-01-18 07:40:54 -0800 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2021-01-19 14:13:08 -0800 |
commit | 9c56d4da2ff631a8c1c30475bd792f6c86bda53c (patch) | |
tree | 82034742a67bbb51171ccefd4dde8a69476a31ea /src/corelib/global/qfloat16.h | |
parent | 790b600840920f8ac4f56af1e1232cd97ad510bd (diff) |
Fix build with GCC 11: include <limits>
Fixes: QTBUG-90395
Pick-to: 6.0
Change-Id: Iecc74d2000eb40dfbe7bfffd165b5dd3708b7a40
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/corelib/global/qfloat16.h')
-rw-r--r-- | src/corelib/global/qfloat16.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/corelib/global/qfloat16.h b/src/corelib/global/qfloat16.h index e9477d2ece..a25fac2886 100644 --- a/src/corelib/global/qfloat16.h +++ b/src/corelib/global/qfloat16.h @@ -44,6 +44,7 @@ #include <QtCore/qglobal.h> #include <QtCore/qmetatype.h> #include <QtCore/qnamespace.h> +#include <limits> #include <string.h> #if defined(QT_COMPILER_SUPPORTS_F16C) && defined(__AVX2__) && !defined(__F16C__) |