summaryrefslogtreecommitdiff
path: root/lib/lsan
diff options
context:
space:
mode:
authorFrancis Ricci <francisjricci@gmail.com>2017-03-27 20:22:02 +0000
committerFrancis Ricci <francisjricci@gmail.com>2017-03-27 20:22:02 +0000
commit7af31ae824382d704e68daf4ef7478fe11433d00 (patch)
treedab3415288f2a79d1cf69b76683db738c34bd97c /lib/lsan
parent049542483398c47d0bb142d16ba6487f2a6c4e34 (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.cc3
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
-