summaryrefslogtreecommitdiff
path: root/src/mainboard
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 /src/mainboard
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>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/emulation/qemu-i440fx/fw_cfg.c1
-rw-r--r--src/mainboard/sifive/hifive-unleashed/fixup_fdt.c1
2 files changed, 2 insertions, 0 deletions
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>