[U-Boot] [PATCH 02/26] x86: Fix build warning in tables.c when CONFIG_SEABIOS
Bin Meng
bmeng.cn at gmail.com
Mon May 2 09:33:22 CEST 2016
The following build warning is seen in tables.c:
warning: implicit declaration of function 'memalign'
Add the missing header file to fix it.
Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
---
arch/x86/lib/tables.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/x86/lib/tables.c b/arch/x86/lib/tables.c
index a156f2c..1213a9c 100644
--- a/arch/x86/lib/tables.c
+++ b/arch/x86/lib/tables.c
@@ -5,6 +5,7 @@
*/
#include <common.h>
+#include <malloc.h>
#include <asm/sfi.h>
#include <asm/mpspec.h>
#include <asm/smbios.h>
--
1.8.2.1
More information about the U-Boot
mailing list