[PATCH] Conditionalise inclusion of link.h on !SANITIZER_ANDROID.
Peter Collingbourne
peter at pcc.me.uk
Thu Aug 29 14:29:19 PDT 2013
Hi samsonov,
Hopefully fixes the Android build.
http://llvm-reviews.chandlerc.com/D1551
Files:
lib/sanitizer_common/sanitizer_linux.cc
Index: lib/sanitizer_common/sanitizer_linux.cc
===================================================================
--- lib/sanitizer_common/sanitizer_linux.cc
+++ lib/sanitizer_common/sanitizer_linux.cc
@@ -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>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D1551.1.patch
Type: text/x-patch
Size: 397 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130829/dbcfcbd5/attachment.bin>
More information about the llvm-commits
mailing list