mirror of
https://gitee.com/open-loongarch/buildroot.git
synced 2026-10-28 22:17:14 +08:00
fix qt5base build error
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
Index: qtbase-everywhere-src-5.15.2/src/corelib/text/qbytearraymatcher.h
|
||||
===================================================================
|
||||
--- qtbase-everywhere-src-5.15.2.orig/src/corelib/text/qbytearraymatcher.h
|
||||
+++ qtbase-everywhere-src-5.15.2/src/corelib/text/qbytearraymatcher.h
|
||||
@@ -41,6 +41,7 @@
|
||||
#define QBYTEARRAYMATCHER_H
|
||||
|
||||
#include <QtCore/qbytearray.h>
|
||||
+#include <limits>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
Index: qtbase-everywhere-src-5.15.2/src/corelib/tools/qoffsetstringarray_p.h
|
||||
===================================================================
|
||||
--- qtbase-everywhere-src-5.15.2.orig/src/corelib/tools/qoffsetstringarray_p.h
|
||||
+++ qtbase-everywhere-src-5.15.2/src/corelib/tools/qoffsetstringarray_p.h
|
||||
@@ -55,6 +55,7 @@
|
||||
|
||||
#include <tuple>
|
||||
#include <array>
|
||||
+#include <limits>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
Reference in New Issue
Block a user