summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2019-12-02 20:47:50 +0100
committerPatrick Georgi <pgeorgi@google.com>2019-12-03 11:30:52 +0000
commit70a03dd9605c6a973bbb78e64e626e8af377ad74 (patch)
tree3741931ec6df23bf1cc392efb9495f3f28da945b
parent54daaecacb69194b282484d2c2488c3f5eabc02d (diff)
src: Add missing include <stdlib.h>
Change-Id: I17dc2fed6c6518daf5af286788c98c049088911e Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/37366 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Werner Zeh <werner.zeh@siemens.com>
-rw-r--r--src/arch/x86/acpi_device.c1
-rw-r--r--src/commonlib/storage/sdhci_adma.c1
-rw-r--r--src/mainboard/emulation/qemu-i440fx/fw_cfg.c1
-rw-r--r--src/mainboard/sifive/hifive-unleashed/fixup_fdt.c1
-rw-r--r--src/soc/intel/broadwell/me.c1
5 files changed, 5 insertions, 0 deletions
diff --git a/src/arch/x86/acpi_device.c b/src/arch/x86/acpi_device.c
index d367108457..5c77953bc2 100644
--- a/src/arch/x86/acpi_device.c
+++ b/src/arch/x86/acpi_device.c
@@ -17,6 +17,7 @@
#include <arch/acpigen.h>
#include <device/device.h>
#include <device/path.h>
+#include <stdlib.h>
#if CONFIG(GENERIC_GPIO_LIB)
#include <gpio.h>
#endif
diff --git a/src/commonlib/storage/sdhci_adma.c b/src/commonlib/storage/sdhci_adma.c
index 2806bdeaee..2ca4b5557c 100644
--- a/src/commonlib/storage/sdhci_adma.c
+++ b/src/commonlib/storage/sdhci_adma.c
@@ -19,6 +19,7 @@
#include <console/console.h>
#include <delay.h>
#include <endian.h>
+#include <stdlib.h>
#include <string.h>
#include "sdhci.h"
diff --git a/src/mainboard/emulation/qemu-i440fx/fw_cfg.c b/src/mainboard/emulation/qemu-i440fx/fw_cfg.c
index 580e09ad45..50123f97b4 100644
--- a/src/mainboard/emulation/qemu-i440fx/fw_cfg.c
+++ b/src/mainboard/emulation/qemu-i440fx/fw_cfg.c
@@ -12,6 +12,7 @@
*/
#include <endian.h>
+#include <stdlib.h>
#include <string.h>
#include <smbios.h>
#include <console/console.h>
diff --git a/src/mainboard/sifive/hifive-unleashed/fixup_fdt.c b/src/mainboard/sifive/hifive-unleashed/fixup_fdt.c
index 8ac6ff1208..3d431812fa 100644
--- a/src/mainboard/sifive/hifive-unleashed/fixup_fdt.c
+++ b/src/mainboard/sifive/hifive-unleashed/fixup_fdt.c
@@ -14,6 +14,7 @@
*/
#include <stdint.h>
+#include <stdlib.h>
#include <string.h>
#include <console/console.h>
#include <soc/otp.h>
diff --git a/src/soc/intel/broadwell/me.c b/src/soc/intel/broadwell/me.c
index 0021d2c48a..448c5dada9 100644
--- a/src/soc/intel/broadwell/me.c
+++ b/src/soc/intel/broadwell/me.c
@@ -29,6 +29,7 @@
#include <device/pci.h>
#include <device/pci_ids.h>
#include <device/pci_def.h>
+#include <stdlib.h>
#include <string.h>
#include <delay.h>
#include <elog.h>