Patrick Georgi has submitted this change. ( https://review.coreboot.org/c/coreboot/+/37366 )
Change subject: src: Add missing include <stdlib.h> ......................................................................
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 --- M src/arch/x86/acpi_device.c M src/commonlib/storage/sdhci_adma.c M src/mainboard/emulation/qemu-i440fx/fw_cfg.c M src/mainboard/sifive/hifive-unleashed/fixup_fdt.c M src/soc/intel/broadwell/me.c 5 files changed, 5 insertions(+), 0 deletions(-)
Approvals: build bot (Jenkins): Verified Werner Zeh: Looks good to me, approved
diff --git a/src/arch/x86/acpi_device.c b/src/arch/x86/acpi_device.c index d367108..5c77953 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 2806bde..2ca4b55 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 580e09a..50123f9 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 8ac6ff1..3d43181 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 0021d2c..448c5da 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>