fix qt5base build error

This commit is contained in:
Xiaotian Wu
2025-06-26 11:08:46 +08:00
parent cfa35fbfdc
commit f341cf5a57
@@ -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