[U-Boot] [PATCH 02/26] x86: Fix build warning in tables.c when CONFIG_SEABIOS

Bin Meng
2016-05-02T07:33:22Z

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@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