drivers/ipmi/ipmi_fru: Add missing <stdlib.h>

malloc() needs <stdlib.h>

Original-Change-Id: I0cf6a5b76543cb6dac584de6628cfc459d5a60a8
Original-Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Original-Reviewed-on: https://review.coreboot.org/c/coreboot/+/37884
Original-Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Original-Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
(cherry picked from commit f07d7dc2fd)

Change-Id: I7febb9695199896e3f918b331e0b073d664883e9
Signed-off-by: Marc Jones <marcj303@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/55767
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin Roth <martinroth@google.com>
Reviewed-by: Jay Talbott <JayTalbott@sysproconsulting.com>
This commit is contained in:
Elyes HAOUAS 2019-12-21 07:24:22 +01:00 committed by Werner Zeh
parent 30bc0a4b66
commit 4b776b705f
1 changed files with 2 additions and 0 deletions

View File

@ -17,6 +17,8 @@
#include <console/console.h> #include <console/console.h>
#include <string.h> #include <string.h>
#include <delay.h> #include <delay.h>
#include <stdlib.h>
#include "ipmi_ops.h" #include "ipmi_ops.h"
#define MAX_FRU_BUSY_RETRY 5 #define MAX_FRU_BUSY_RETRY 5