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 /util | |
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 'util')
-rw-r--r-- | util/misc_util.h | 3 | ||||
-rw-r--r-- | util/uut/cmd.h | 1 | ||||
-rw-r--r-- | util/uut/com_port.h | 1 |
3 files changed, 5 insertions, 0 deletions
diff --git a/util/misc_util.h b/util/misc_util.h index 6b65a8c925..80286f2a88 100644 --- a/util/misc_util.h +++ b/util/misc_util.h @@ -6,6 +6,9 @@ #ifndef __UTIL_MISC_UTIL_H #define __UTIL_MISC_UTIL_H +#include <stddef.h> +#include <stdint.h> + #define GENERIC_MAX(x, y) ((x) > (y) ? (x) : (y)) #define GENERIC_MIN(x, y) ((x) < (y) ? (x) : (y)) #ifndef MAX diff --git a/util/uut/cmd.h b/util/uut/cmd.h index cf8457000b..1ec6b07aef 100644 --- a/util/uut/cmd.h +++ b/util/uut/cmd.h @@ -8,6 +8,7 @@ #define __UTIL_UUT_CMD_H #include <stdbool.h> +#include <stdint.h> /*--------------------------------------------------------------------------- * Constant definitions diff --git a/util/uut/com_port.h b/util/uut/com_port.h index 0a5d843e0f..76ff9e9e16 100644 --- a/util/uut/com_port.h +++ b/util/uut/com_port.h @@ -10,6 +10,7 @@ #define __UTIL_UUT_COM_PORT_H #include <stdbool.h> +#include <stdint.h> #include <termios.h> |