diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2019-05-15 21:05:37 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-05-29 20:27:52 +0000 |
commit | bd1683da29d5688f97fcc43bef3e0df74e4196f9 (patch) | |
tree | 0f124f816bcfc3c6a9fe6459a0c5df5997eddd52 /src/drivers/pc80 | |
parent | b12ece98b09dd88634d93bcb41ca5c4cb9d86364 (diff) |
src/{device,drivers}: Add missing 'include <types.h>'
<types.h> is supposed to provide <stdint.h> and <stddef.h>.
So when <types.h> is included, <stdint.h> and/or <stddef.h> is removed.
Change-Id: I3395715f9e2b03175089186ab2e57d9e508fc87c
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/32806
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Lijian Zhao <lijian.zhao@intel.com>
Diffstat (limited to 'src/drivers/pc80')
-rw-r--r-- | src/drivers/pc80/rtc/mc146818rtc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/pc80/rtc/mc146818rtc.c b/src/drivers/pc80/rtc/mc146818rtc.c index 6e37cd2f78..e0869a9337 100644 --- a/src/drivers/pc80/rtc/mc146818rtc.c +++ b/src/drivers/pc80/rtc/mc146818rtc.c @@ -19,7 +19,6 @@ #include <arch/io.h> #include <bcd.h> #include <fallback.h> -#include <stdint.h> #include <version.h> #include <console/console.h> #include <pc80/mc146818rtc.h> @@ -29,6 +28,7 @@ #include <cbfs.h> #include <security/vboot/vbnv.h> #include <security/vboot/vbnv_layout.h> +#include <types.h> /* There's no way around this include guard. option_table.h is autogenerated */ #if CONFIG(USE_OPTION_TABLE) |