summaryrefslogtreecommitdiff
path: root/include/event_log.h
diff options
context:
space:
mode:
authorJeremy Bettis <jbettis@google.com>2022-11-14 12:37:54 -0700
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-11-14 21:17:43 +0000
commite0c1fdf11777e198a4f08461eadcb3c8b09c50a6 (patch)
tree5bcad0d21ed6b5da23abe4b46a0672d7ae43c664 /include/event_log.h
parentad9884a51b42b5ac3013132fced17b9e1835edd9 (diff)
downloadchrome-ec-e0c1fdf11777e198a4f08461eadcb3c8b09c50a6.tar.gz
ec: IWYU Add some missing includes
There are a few headers here that don't include the stdint or stdbool headers, but use the int or bool types defined there. BRANCH=None BUG=b:247100970 TEST=CQ Signed-off-by: Jeremy Bettis <jbettis@google.com> Change-Id: Idbf7e4d0c5182821fbc9fe9fb60690b12701bf75 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4022252 Commit-Queue: Simon Glass <sjg@chromium.org> Auto-Submit: Jeremy Bettis <jbettis@chromium.org> Reviewed-by: Simon Glass <sjg@chromium.org> Tested-by: Jeremy Bettis <jbettis@chromium.org> Code-Coverage: Zoss <zoss-cl-coverage@prod.google.com>
Diffstat (limited to 'include/event_log.h')
-rw-r--r--include/event_log.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/event_log.h b/include/event_log.h
index bd3b88510b..5438a34414 100644
--- a/include/event_log.h
+++ b/include/event_log.h
@@ -6,6 +6,8 @@
#ifndef __CROS_EC_EVENT_LOG_H
#define __CROS_EC_EVENT_LOG_H
+#include <stdint.h>
+
struct event_log_entry {
uint32_t timestamp; /* relative timestamp in milliseconds */
uint8_t type; /* event type, caller-defined */