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>
This commit is contained in:
Elyes HAOUAS 2019-12-21 07:24:22 +01:00 committed by Patrick Georgi
parent d6de92ef1e
commit f07d7dc2fd
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