Skip to content

Commit f0bfd53

Browse files
committed
include appropriate header files for std::numeric_limits
Fixes #80.
1 parent 83086a3 commit f0bfd53

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

ChangeLog

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2021-02-27 Moritz Bunkus <mo@bunkus.online>
2+
3+
* Fix compilation with g++ 11. Fixes #80.
4+
15
2021-02-21 Steve Lhomme <slhomme@matroska.org>
26

37
* Remove Coremake project files

src/EbmlString.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
\author Steve Lhomme <robux4 @ users.sf.net>
3535
*/
3636
#include <cassert>
37+
#include <limits>
3738

3839
#include "ebml/EbmlString.h"
3940

src/EbmlUnicodeString.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
*/
3737

3838
#include <cassert>
39+
#include <limits>
3940

4041
#include "ebml/EbmlUnicodeString.h"
4142

0 commit comments

Comments
 (0)