diff options
author | Francis Ricci <francisjricci@gmail.com> | 2017-03-27 20:22:02 +0000 |
---|---|---|
committer | Francis Ricci <francisjricci@gmail.com> | 2017-03-27 20:22:02 +0000 |
commit | 7af31ae824382d704e68daf4ef7478fe11433d00 (patch) | |
tree | dab3415288f2a79d1cf69b76683db738c34bd97c /lib/lsan | |
parent | 049542483398c47d0bb142d16ba6487f2a6c4e34 (diff) |
Fix missing sanitizer platform include
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@298884 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/lsan')
-rw-r--r-- | lib/lsan/lsan_linux.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/lsan/lsan_linux.cc b/lib/lsan/lsan_linux.cc index 944551c77..c0b6f4b65 100644 --- a/lib/lsan/lsan_linux.cc +++ b/lib/lsan/lsan_linux.cc @@ -11,6 +11,8 @@ // //===----------------------------------------------------------------------===// +#include "sanitizer_common/sanitizer_platform.h" + #if SANITIZER_LINUX #include "lsan_allocator.h" @@ -23,4 +25,3 @@ AllocatorCache *GetAllocatorCache() { return &allocator_cache; } } // namespace __lsan #endif // SANITIZER_LINUX - |