diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2019-05-15 21:07:30 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-05-29 20:28:07 +0000 |
commit | 5fd93e05820d742fac5dbc1b371b464a88bb9043 (patch) | |
tree | 167d987649783a4b6924aae8e3c9f962ff89fcd2 /src/ec | |
parent | bd1683da29d5688f97fcc43bef3e0df74e4196f9 (diff) | |
download | coreboot-5fd93e05820d742fac5dbc1b371b464a88bb9043.tar.xz |
src/{ec,vendorcode}: 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: I1eb4163fb36a47b584f1fc9dd3c012e2930e9866
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/32807
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Lijian Zhao <lijian.zhao@intel.com>
Diffstat (limited to 'src/ec')
-rw-r--r-- | src/ec/lenovo/h8/h8.c | 1 | ||||
-rw-r--r-- | src/ec/lenovo/h8/wwan.c | 1 | ||||
-rw-r--r-- | src/ec/lenovo/pmh7/pmh7.c | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/src/ec/lenovo/h8/h8.c b/src/ec/lenovo/h8/h8.c index de4f2c29b2..f707014c31 100644 --- a/src/ec/lenovo/h8/h8.c +++ b/src/ec/lenovo/h8/h8.c @@ -23,6 +23,7 @@ #include <smbios.h> #include <pc80/mc146818rtc.h> #include <pc80/keyboard.h> +#include <types.h> #include "h8.h" #include "chip.h" diff --git a/src/ec/lenovo/h8/wwan.c b/src/ec/lenovo/h8/wwan.c index cf3c8f7cf0..e79cb61332 100644 --- a/src/ec/lenovo/h8/wwan.c +++ b/src/ec/lenovo/h8/wwan.c @@ -18,6 +18,7 @@ #include <device/device.h> #include <ec/acpi/ec.h> #include <option.h> +#include <types.h> #include "h8.h" #include "chip.h" diff --git a/src/ec/lenovo/pmh7/pmh7.c b/src/ec/lenovo/pmh7/pmh7.c index 986abb5d81..ef505cd164 100644 --- a/src/ec/lenovo/pmh7/pmh7.c +++ b/src/ec/lenovo/pmh7/pmh7.c @@ -20,6 +20,7 @@ #include <stdlib.h> #include <pc80/mc146818rtc.h> #include <delay.h> +#include <types.h> #include "pmh7.h" #include "chip.h" |