aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--hwaccess_physmap.c1
1 files changed, 1 insertions, 0 deletions
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 <DirectHW/DirectHW.h>
#define MEM_DEV "DirectHW"