From ca0a67624b6f38b0a6c86171950b5c2c6507f2ce Mon Sep 17 00:00:00 2001 From: Aaron Durbin Date: Tue, 15 Dec 2015 17:49:12 -0600 Subject: commonlib: Prepare code to be included in cbfstool builds. Some of the files need to be adjusted so that they can be used both in cbfstool as well as coreboot proper. For coreboot, add a file such that proper types can be included from both the tools and coreboot. The other chanes are to accomodate stricter checking in cbfstool. BUG=chrome-os-partner:48412 BUG=chromium:445938 BRANCH=None TEST=Built on glados including tools. Booted. Change-Id: I771c6675c64b8837f775427721dd3300a8fa1bc0 Signed-off-by: Aaron Durbin Reviewed-on: https://review.coreboot.org/12784 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth Reviewed-by: Patrick Georgi --- src/commonlib/mem_pool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/commonlib/mem_pool.c') diff --git a/src/commonlib/mem_pool.c b/src/commonlib/mem_pool.c index e42e9cb3d5..cb3e726f25 100644 --- a/src/commonlib/mem_pool.c +++ b/src/commonlib/mem_pool.c @@ -13,8 +13,8 @@ * GNU General Public License for more details. */ +#include #include -#include void *mem_pool_alloc(struct mem_pool *mp, size_t sz) { -- cgit v1.2.3