diff options
Diffstat (limited to 'compiler-rt/lib/gwp_asan/tests/never_allocated.cpp')
| -rw-r--r-- | compiler-rt/lib/gwp_asan/tests/never_allocated.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler-rt/lib/gwp_asan/tests/never_allocated.cpp b/compiler-rt/lib/gwp_asan/tests/never_allocated.cpp index 37a4b384e4ac..6e1ee47d86a5 100644 --- a/compiler-rt/lib/gwp_asan/tests/never_allocated.cpp +++ b/compiler-rt/lib/gwp_asan/tests/never_allocated.cpp @@ -12,6 +12,8 @@ #include "gwp_asan/crash_handler.h" #include "gwp_asan/tests/harness.h" +#include <unistd.h> + TEST_P(BacktraceGuardedPoolAllocatorDeathTest, NeverAllocated) { size_t PageSize = sysconf(_SC_PAGESIZE); |
