Browse Source
Merge pull request #16075 from neheb/ebml
libebml: fix compilation with GCC11
lilik-openwrt-22.03
Rosen Penev
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
20 additions and
0 deletions
-
libs/libebml/patches/010-gcc11.patch
|
|
@ -0,0 +1,20 @@ |
|
|
|
--- a/src/EbmlString.cpp
|
|
|
|
+++ b/src/EbmlString.cpp
|
|
|
|
@@ -34,6 +34,7 @@
|
|
|
|
\author Steve Lhomme <robux4 @ users.sf.net> |
|
|
|
*/ |
|
|
|
#include <cassert> |
|
|
|
+#include <limits>
|
|
|
|
|
|
|
|
#include "ebml/EbmlString.h" |
|
|
|
|
|
|
|
--- a/src/EbmlUnicodeString.cpp
|
|
|
|
+++ b/src/EbmlUnicodeString.cpp
|
|
|
|
@@ -36,6 +36,7 @@
|
|
|
|
*/ |
|
|
|
|
|
|
|
#include <cassert> |
|
|
|
+#include <limits>
|
|
|
|
|
|
|
|
#include "ebml/EbmlUnicodeString.h" |
|
|
|
|