summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>