diff --git a/metrics/counter.h b/metrics/counter.h index e55cdedac..a360e1f7b 100644 --- a/metrics/counter.h +++ b/metrics/counter.h @@ -9,7 +9,7 @@ #include #include -#include +#include #include // for FRIEND_TEST class MetricsLibraryInterface; diff --git a/metrics/counter_test.cc b/metrics/counter_test.cc index 358051668..71fefd6c5 100644 --- a/metrics/counter_test.cc +++ b/metrics/counter_test.cc @@ -123,7 +123,11 @@ class TaggedCounterTest : public testing::Test { // Collects log messages in the |log_| member string so that they // can be analyzed for errors and expected behavior. - static bool HandleLogMessages(int severity, const std::string& str) { + static bool HandleLogMessages(int severity, + const char* file, + int line, + size_t message_start, + const std::string& str) { test_->log_.append(str); test_->log_.append("\n"); diff --git a/metrics/metrics_daemon.h b/metrics/metrics_daemon.h index e0614452b..2bbdb4fd0 100644 --- a/metrics/metrics_daemon.h +++ b/metrics/metrics_daemon.h @@ -10,7 +10,7 @@ #include #include -#include +#include #include #include // for FRIEND_TEST