commit | 3fa758f49c42e963985b9b99202c65c217a0bb5b | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Wed May 17 17:36:08 2017 -0700 |
committer | Elliott Hughes <enh@google.com> | Wed May 17 17:36:08 2017 -0700 |
tree | 1641c5638c1480ecb6a107c0694968499004883a | |
parent | 7ff7ed1c7de40059f1f21f59eed338603bec08e0 [diff] |
Fix Mac build. Bug: N/A Test: builds Change-Id: Ia3dae9f86a0aaa5431929e790f5c36f8beaf3bed
diff --git a/tests/utils.h b/tests/utils.h index e3e0b0d..81df350 100644 --- a/tests/utils.h +++ b/tests/utils.h
@@ -19,7 +19,6 @@ #include <inttypes.h> #include <sys/mman.h> -#include <sys/sysmacros.h> #include <sys/types.h> #include <sys/wait.h> #include <unistd.h> @@ -46,6 +45,8 @@ #if defined(__linux__) +#include <sys/sysmacros.h> + struct map_record { uintptr_t addr_start; uintptr_t addr_end;