diff --git a/mpd/base/bandwidth_estimator.cc b/mpd/base/bandwidth_estimator.cc index 8fc413c133..67c701f845 100644 --- a/mpd/base/bandwidth_estimator.cc +++ b/mpd/base/bandwidth_estimator.cc @@ -7,6 +7,7 @@ #include "mpd/base/bandwidth_estimator.h" #include +#include #include "base/logging.h" diff --git a/mpd/base/mpd_builder_unittest.cc b/mpd/base/mpd_builder_unittest.cc index df51f6ef9a..c276006e22 100644 --- a/mpd/base/mpd_builder_unittest.cc +++ b/mpd/base/mpd_builder_unittest.cc @@ -131,7 +131,8 @@ class SegmentTemplateTest : public DynamicMpdBuilderTest { const char kSElementTemplate[] = "\n"; const char kSElementTemplateWithoutR[] = "\n"; - segment_infos_for_expected_out_.push_back({start_time, duration, repeat}); + SegmentInfo s = {start_time, duration, repeat}; + segment_infos_for_expected_out_.push_back(s); if (repeat == 0) { expected_s_elements_ += base::StringPrintf(kSElementTemplateWithoutR, start_time, duration);