[compiler-rt] r280881 - [asan] Fix build on Linux.
Evgeniy Stepanov via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 7 16:19:16 PDT 2016
Author: eugenis
Date: Wed Sep 7 18:19:16 2016
New Revision: 280881
URL: http://llvm.org/viewvc/llvm-project?rev=280881&view=rev
Log:
[asan] Fix build on Linux.
Modified:
compiler-rt/trunk/lib/sanitizer_common/sanitizer_linux_libcdep.cc
Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_linux_libcdep.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_linux_libcdep.cc?rev=280881&r1=280880&r2=280881&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_linux_libcdep.cc (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_linux_libcdep.cc Wed Sep 7 18:19:16 2016
@@ -34,6 +34,7 @@
#include <pthread.h>
#include <signal.h>
#include <sys/resource.h>
+#include <syslog.h>
#if SANITIZER_FREEBSD
#include <pthread_np.h>
@@ -47,7 +48,6 @@
#if SANITIZER_ANDROID
#include <android/api-level.h>
-#include <syslog.h>
#endif
#if SANITIZER_ANDROID && __ANDROID_API__ < 21
More information about the llvm-commits
mailing list