diff options
author | Jeremy Bettis <jbettis@google.com> | 2023-03-17 14:20:15 -0600 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2023-03-20 22:15:13 +0000 |
commit | fa43416506c6f06a59ab2ccd5f81b7c5b9c7d16e (patch) | |
tree | 1e66bdc61a0f712814a87e61d69e4bd535edac9e /include/timer.h | |
parent | fff5dcdd4043f6f5d00cfb1862adcbdb34ccb343 (diff) | |
download | chrome-ec-fa43416506c6f06a59ab2ccd5f81b7c5b9c7d16e.tar.gz |
ec: Add missing #includes
There were several headers broken by sorting includes, because they
didn't include what they use.
Add missing #includes to fix build.
BRANCH=None
BUG=None
TEST=cq
Change-Id: I1b7c6d8fc62ace8cb2cbb12df83c0edf81c7dfde
Signed-off-by: Jeremy Bettis <jbettis@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4350990
Reviewed-by: caveh jalali <caveh@chromium.org>
Reviewed-by: Tom Hughes <tomhughes@chromium.org>
Tested-by: Jeremy Bettis <jbettis@chromium.org>
Commit-Queue: Jeremy Bettis <jbettis@chromium.org>
Diffstat (limited to 'include/timer.h')
-rw-r--r-- | include/timer.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/timer.h b/include/timer.h index a68ce959b2..a70d3a41f5 100644 --- a/include/timer.h +++ b/include/timer.h @@ -9,6 +9,8 @@ #define __CROS_EC_TIMER_H #ifndef CONFIG_ZEPHYR +#include <time.h> + #include <sys/types.h> #else /* Data type for POSIX style clock() implementation */ |