commit | 44448249023f8535c8e21c6369e1ac675cd21526 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Fri Jan 15 17:46:28 2021 -0800 |
committer | Elliott Hughes <enh@google.com> | Fri Jan 15 17:46:28 2021 -0800 |
tree | 327bff51a0c5338234866768a516f01917139151 | |
parent | e865d88531291f81e32f7231a55f20d2e243949f [diff] |
Fix macOS build. Bug: http://b/177702122 Test: treehugger Change-Id: I64ad7f506fb241c5f949c7bbac55a26161bd510e
diff --git a/libcutils/memory.cpp b/libcutils/memory.cpp index a899d80..5a410c2 100644 --- a/libcutils/memory.cpp +++ b/libcutils/memory.cpp
@@ -18,7 +18,9 @@ #include <log/log.h> +#if !defined(__APPLE__) #include <malloc.h> +#endif void process_disable_memory_mitigations() { bool success = false;