diff --git a/modules/demux/adaptive/playlist/Inheritables.cpp b/modules/demux/adaptive/playlist/Inheritables.cpp
index 16c1ef4d2fa0ea5da136473c01650fc7d298f52a..c19bba99bad406d1db6ca478e88a3c5b8f64dcab 100644
--- a/modules/demux/adaptive/playlist/Inheritables.cpp
+++ b/modules/demux/adaptive/playlist/Inheritables.cpp
@@ -29,6 +29,7 @@
 #include "SegmentTimeline.h"
 
 #include <algorithm>
+#include <limits>
 
 using namespace adaptive::playlist;
 using namespace adaptive;
diff --git a/modules/demux/adaptive/playlist/SegmentInformation.cpp b/modules/demux/adaptive/playlist/SegmentInformation.cpp
index 496b26071cd71e0b500017f21c28d838a4c4eb91..a79b1a260280aa44c28317cb6652af85357c7cd2 100644
--- a/modules/demux/adaptive/playlist/SegmentInformation.cpp
+++ b/modules/demux/adaptive/playlist/SegmentInformation.cpp
@@ -34,6 +34,7 @@
 
 #include <algorithm>
 #include <cassert>
+#include <limits>
 
 using namespace adaptive::playlist;
 
diff --git a/modules/demux/adaptive/playlist/SegmentTimeline.cpp b/modules/demux/adaptive/playlist/SegmentTimeline.cpp
index 51e2873c132e2ae3403579ea1e039e0e86d14c69..2f140d111252dd7ac151eeac47fc1e05e20121c9 100644
--- a/modules/demux/adaptive/playlist/SegmentTimeline.cpp
+++ b/modules/demux/adaptive/playlist/SegmentTimeline.cpp
@@ -29,6 +29,7 @@
 
 #include <algorithm>
 #include <sstream>
+#include <limits>
 
 using namespace adaptive::playlist;