vcpkg/ports/ebml/include-limits.patch
Matt Hughes 9ff4659a07
[ebml] fix linux build by including <limits> (#23760)
* [ebml] fix linux build by including <limits>

* update version

* udpate version

Co-authored-by: Jonliu1993 <13720414433@163.com>
2022-03-25 14:57:39 -07:00

25 lines
545 B
Diff

diff --git a/src/EbmlString.cpp b/src/EbmlString.cpp
index 27e55fd..4c05fcf 100644
--- 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"
diff --git a/src/EbmlUnicodeString.cpp b/src/EbmlUnicodeString.cpp
index 496a16a..99fc073 100644
--- a/src/EbmlUnicodeString.cpp
+++ b/src/EbmlUnicodeString.cpp
@@ -36,6 +36,7 @@
*/
#include <cassert>
+#include <limits>
#include "ebml/EbmlUnicodeString.h"