diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2016-05-07 14:46:11 (GMT) |
---|---|---|
committer | Bin Meng <bmeng.cn@gmail.com> | 2016-05-23 07:18:00 (GMT) |
commit | 5cb0f0dc88f816a08003a06cef8bd5310425e573 (patch) | |
tree | 59b9916c94e4eb0d155d81e18368a6ff2d768ee6 /arch/x86 | |
parent | b6524477df87eeec436d01dd361017468c7f915f (diff) | |
download | u-boot-5cb0f0dc88f816a08003a06cef8bd5310425e573.tar.xz |
x86: Fix build warning in tables.c when CONFIG_SEABIOS
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>
Reviewed-by: Stefan Roese <sr@denx.de>
Tested-by: Stefan Roese <sr@denx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/lib/tables.c | 1 |
1 files changed, 1 insertions, 0 deletions
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> |