From 32aa9059bc6b5da05b7bb0288758e22fd9d18901 Mon Sep 17 00:00:00 2001 From: Thomas Heijligen Date: Fri, 18 Mar 2022 20:47:13 +0100 Subject: hwaccess_physmap: add missing DirectHW include For MACH / APPLE map_physical is defined in DirectHW.h TEST: run `make` compiles, linking fails due to missing directhw object in my setup, don't know how to fix this Change-Id: I0e0f3fd587ae46e6f73418f2c83641cb1202478c Signed-off-by: Thomas Heijligen Reviewed-on: https://review.coreboot.org/c/flashrom/+/62929 Tested-by: build bot (Jenkins) Reviewed-by: Angel Pons --- hwaccess_physmap.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hwaccess_physmap.c b/hwaccess_physmap.c index b1b9c648..7afe60d7 100644 --- a/hwaccess_physmap.c +++ b/hwaccess_physmap.c @@ -133,6 +133,7 @@ static void sys_physunmap_unaligned(void *virt_addr, size_t len) { } #elif defined(__MACH__) && defined(__APPLE__) +#include #define MEM_DEV "DirectHW" -- cgit v1.2.3