diff --git a/logging/rtc_event_log/encoder/rtc_event_log_encoder_unittest.cc b/logging/rtc_event_log/encoder/rtc_event_log_encoder_unittest.cc index 57dc72d3a5..c8b8c138b3 100644 --- a/logging/rtc_event_log/encoder/rtc_event_log_encoder_unittest.cc +++ b/logging/rtc_event_log/encoder/rtc_event_log_encoder_unittest.cc @@ -8,6 +8,7 @@ * be found in the AUTHORS file in the root of the source tree. */ +#include #include #include #include diff --git a/modules/video_coding/codecs/test/videoprocessor_integrationtest.h b/modules/video_coding/codecs/test/videoprocessor_integrationtest.h index ccbe16eed1..b32029de33 100644 --- a/modules/video_coding/codecs/test/videoprocessor_integrationtest.h +++ b/modules/video_coding/codecs/test/videoprocessor_integrationtest.h @@ -11,6 +11,7 @@ #ifndef MODULES_VIDEO_CODING_CODECS_TEST_VIDEOPROCESSOR_INTEGRATIONTEST_H_ #define MODULES_VIDEO_CODING_CODECS_TEST_VIDEOPROCESSOR_INTEGRATIONTEST_H_ +#include #include #include #include @@ -130,10 +131,11 @@ class VideoProcessorIntegrationTest : public testing::Test { return 100 * sum_delta_framesize_mismatch_layer[i] / num_frames_layer[i]; } int BitrateMismatchPercent(float target_kbps) const { - return 100 * fabs(kbps - target_kbps) / target_kbps; + return 100 * std::fabs(kbps - target_kbps) / target_kbps; } int BitrateMismatchPercent(int i, float target_kbps_layer) const { - return 100 * fabs(kbps_layer[i] - target_kbps_layer) / target_kbps_layer; + return 100 * std::fabs(kbps_layer[i] - target_kbps_layer) / + target_kbps_layer; } int num_frames = 0; int num_frames_layer[kMaxNumTemporalLayers] = {0}; diff --git a/rtc_tools/event_log_visualizer/analyzer.cc b/rtc_tools/event_log_visualizer/analyzer.cc index c351b781d5..0ef08036a0 100644 --- a/rtc_tools/event_log_visualizer/analyzer.cc +++ b/rtc_tools/event_log_visualizer/analyzer.cc @@ -11,6 +11,7 @@ #include "rtc_tools/event_log_visualizer/analyzer.h" #include +#include #include #include #include