summaryrefslogtreecommitdiff
path: root/src/drivers
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2019-12-21 07:24:22 +0100
committerPatrick Georgi <pgeorgi@google.com>2019-12-27 08:58:15 +0000
commitf07d7dc2fdd71b3f8b5fd9cbde57068a98a9e602 (patch)
treeab9c1d1531bb1762cf375ae3e1d5b9612ead50f1 /src/drivers
parentd6de92ef1ed8bcfc3660998b5ea0aaafc1d18678 (diff)
drivers/ipmi/ipmi_fru: Add missing <stdlib.h>
malloc() needs <stdlib.h> Change-Id: I0cf6a5b76543cb6dac584de6628cfc459d5a60a8 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/37884 Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/drivers')
-rw-r--r--src/drivers/ipmi/ipmi_fru.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/drivers/ipmi/ipmi_fru.c b/src/drivers/ipmi/ipmi_fru.c
index a5e6ea60d5..8be53f8e0a 100644
--- a/src/drivers/ipmi/ipmi_fru.c
+++ b/src/drivers/ipmi/ipmi_fru.c
@@ -17,6 +17,8 @@
#include <console/console.h>
#include <string.h>
#include <delay.h>
+#include <stdlib.h>
+
#include "ipmi_ops.h"
#define MAX_FRU_BUSY_RETRY 5