[compiler-rt] r189696 - Conditionalise inclusion of link.h on !SANITIZER_ANDROID.
Peter Collingbourne
peter at pcc.me.uk
Fri Aug 30 13:50:12 PDT 2013
Author: pcc
Date: Fri Aug 30 15:50:12 2013
New Revision: 189696
URL: http://llvm.org/viewvc/llvm-project?rev=189696&view=rev
Log:
Conditionalise inclusion of link.h on !SANITIZER_ANDROID.
Hopefully fixes the Android build.
Differential Revision: http://llvm-reviews.chandlerc.com/D1551
Modified:
compiler-rt/trunk/lib/sanitizer_common/sanitizer_linux.cc
Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_linux.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_linux.cc?rev=189696&r1=189695&r2=189696&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_linux.cc (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_linux.cc Fri Aug 30 15:50:12 2013
@@ -29,7 +29,9 @@
#include <dlfcn.h>
#include <errno.h>
#include <fcntl.h>
+#if !SANITIZER_ANDROID
#include <link.h>
+#endif
#include <pthread.h>
#include <sched.h>
#include <sys/mman.h>
More information about the llvm-commits
mailing list