summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Abhishek Pandit-Subedi <abhishekpandit@google.com> 2022-01-26 16:15:43 -0800
committer Abhishek Pandit-Subedi <abhishekpandit@google.com> 2022-01-26 16:18:16 -0800
commitf7bbc5b301e7ed90d7e4b4c128bcc90cba276d4e (patch)
treedb5bf47af3280547842e186c556d4cafe0ad5906
parent2c0dc3ce69cff2cb8e407aae8e69e5f66238c237 (diff)
floss: Include <base/time/time.h>
When using base::TimeDelta, also #include <base/time/time.h> Bug: 216491419 Tag: #floss Test: m libbt_common and build for ChromeOS Change-Id: I7ed8731efad0753ae421825ff3d296099ac78709
-rw-r--r--system/common/once_timer.h2
-rw-r--r--system/common/repeating_timer.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/system/common/once_timer.h b/system/common/once_timer.h
index 9968be5cd7..ca7185d001 100644
--- a/system/common/once_timer.h
+++ b/system/common/once_timer.h
@@ -19,6 +19,8 @@
#include <base/bind.h>
#include <base/cancelable_callback.h>
#include <base/location.h>
+#include <base/time/time.h>
+
#include <future>
namespace bluetooth {
diff --git a/system/common/repeating_timer.h b/system/common/repeating_timer.h
index b4c5108398..24eae67d09 100644
--- a/system/common/repeating_timer.h
+++ b/system/common/repeating_timer.h
@@ -19,6 +19,8 @@
#include <base/bind.h>
#include <base/cancelable_callback.h>
#include <base/location.h>
+#include <base/time/time.h>
+
#include <future>
namespace bluetooth {