diff options
| author | Bin Meng <[email protected]> | 2016-05-07 07:46:11 -0700 |
|---|---|---|
| committer | Bin Meng <[email protected]> | 2016-05-23 15:18:00 +0800 |
| commit | 5cb0f0dc88f816a08003a06cef8bd5310425e573 (patch) | |
| tree | 59b9916c94e4eb0d155d81e18368a6ff2d768ee6 | |
| parent | b6524477df87eeec436d01dd361017468c7f915f (diff) | |
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 <[email protected]>
Reviewed-by: Stefan Roese <[email protected]>
Tested-by: Stefan Roese <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
| -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 a156f2ce315..1213a9cd2b8 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> |
