summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2019-05-15 21:07:30 +0200
committerPatrick Georgi <pgeorgi@google.com>2019-05-29 20:28:07 +0000
commit5fd93e05820d742fac5dbc1b371b464a88bb9043 (patch)
tree167d987649783a4b6924aae8e3c9f962ff89fcd2
parentbd1683da29d5688f97fcc43bef3e0df74e4196f9 (diff)
downloadcoreboot-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>
-rw-r--r--src/ec/lenovo/h8/h8.c1
-rw-r--r--src/ec/lenovo/h8/wwan.c1
-rw-r--r--src/ec/lenovo/pmh7/pmh7.c1
-rw-r--r--src/vendorcode/siemens/hwilib/hwilib.c3
4 files changed, 5 insertions, 1 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"
diff --git a/src/vendorcode/siemens/hwilib/hwilib.c b/src/vendorcode/siemens/hwilib/hwilib.c
index 1213dce4ed..a4d87addff 100644
--- a/src/vendorcode/siemens/hwilib/hwilib.c
+++ b/src/vendorcode/siemens/hwilib/hwilib.c
@@ -18,8 +18,9 @@
#include <console/console.h>
#include <device/mmio.h>
#include <arch/early_variables.h>
-#include "hwilib.h"
+#include <types.h>
+#include "hwilib.h"
#define MAX_BLOCK_NUM 4
#define LEN_HIB 0x1fd