kumquat-buildroot/package/libebml/0001-include-appropriate-header-files-for-std-numeric_limits.patch
Fabrice Fontaine 9a4fbbac9c package/libebml: fix patch
Fix patch added by commit 1116a30609

Fixes:
 - http://autobuild.buildroot.org/results/997d0d6204ad7a5456f25392257c8d876a1289ca

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2021-08-05 22:32:52 +02:00

41 lines
1.1 KiB
Diff

From f0bfd53647961e799a43d918c46cf3b6bff89806 Mon Sep 17 00:00:00 2001
From: Moritz Bunkus <mo@bunkus.online>
Date: Sat, 27 Feb 2021 20:36:52 +0100
Subject: [PATCH] include appropriate header files for std::numeric_limits
Fixes #80.
[Retrieved (and updated to remove ChangeLog update) from:
https://github.com/Matroska-Org/libebml/commit/f0bfd53647961e799a43d918c46cf3b6bff89806]
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
ChangeLog | 4 ++++
src/EbmlString.cpp | 1 +
src/EbmlUnicodeString.cpp | 1 +
3 files changed, 6 insertions(+)
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"