summaryrefslogtreecommitdiff
path: root/src/southbridge/intel/common
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2019-05-15 21:10:44 +0200
committerPatrick Georgi <pgeorgi@google.com>2019-05-29 20:28:41 +0000
commitab89edbccf6e614213bbd88f5dbd5c8bf9a5d4c6 (patch)
tree0bedd57bb42a9191d07947cfb072b1dda44b5a8e /src/southbridge/intel/common
parent51401c30509d189d07a8a94958bdecdfd8b7667d (diff)
downloadcoreboot-ab89edbccf6e614213bbd88f5dbd5c8bf9a5d4c6.tar.xz
src/southbridge: Add missing 'include <types.h>'
<types.h> is supposed to provide <stdint.h> and <stddef.h>. When <types.h> is included, <stdint.h> and/or <stddef.h> is removed. Change-Id: I4d8628e4ce3c7f80da2590b4cad618b290e0d513 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/32809 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Lijian Zhao <lijian.zhao@intel.com>
Diffstat (limited to 'src/southbridge/intel/common')
-rw-r--r--src/southbridge/intel/common/smbus.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/southbridge/intel/common/smbus.c b/src/southbridge/intel/common/smbus.c
index 4b08c48f27..af1eb602a0 100644
--- a/src/southbridge/intel/common/smbus.c
+++ b/src/southbridge/intel/common/smbus.c
@@ -19,6 +19,8 @@
#include <console/console.h>
#include <device/smbus_def.h>
#include <stdlib.h>
+#include <types.h>
+
#include "smbus.h"