[vlc-commits] hls: add missing <limits> include
Robert-André Mauchin
git at videolan.org
Fri Mar 26 12:47:14 UTC 2021
vlc/vlc-3.0 | branch: master | Robert-André Mauchin <zebob.m at gmail.com> | Mon Dec 14 03:23:52 2020 +0100| [f4474d821f9a5865e1e45a34e53ff59ccfaae403] | committer: Jean-Baptiste Kempf
hls: add missing <limits> include
Compilation would fail with:
> error: 'numeric_limits' is not a member of 'std'
without this include because of some hardening build
flags mandated on Fedora Linux, with GCC 11.
Refs #25325
Signed-off-by: Robert-André Mauchin <zebob.m at gmail.com>
Signed-off-by: Alexandre Janniaux <ajanni at videolabs.io>
(cherry picked from commit 3aea33378b0b317b99fce2eeaca8b31bf7cc6aba)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=f4474d821f9a5865e1e45a34e53ff59ccfaae403
---
modules/demux/hls/playlist/Parser.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/demux/hls/playlist/Parser.cpp b/modules/demux/hls/playlist/Parser.cpp
index 67110e4cdb..7439699224 100644
--- a/modules/demux/hls/playlist/Parser.cpp
+++ b/modules/demux/hls/playlist/Parser.cpp
@@ -42,6 +42,7 @@
#include <map>
#include <cctype>
#include <algorithm>
+#include <limits>
using namespace adaptive;
using namespace adaptive::playlist;
More information about the vlc-commits
mailing list