Skip to content

Commit

Permalink
[libsanitizer] Fix the Android build.
Browse files Browse the repository at this point in the history
llvm-svn: 216885
  • Loading branch information
ramosian-glider committed Sep 1, 2014
1 parent 21202ba commit 3ae9193
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cc
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@
#include "sanitizer_atomic.h"
#include "sanitizer_symbolizer.h"

#if SANITIZER_ANDROID
#include <dlfcn.h> // for dlsym()
#endif

#include <pthread.h>
#include <signal.h>
#include <sys/resource.h>
Expand Down

0 comments on commit 3ae9193

Please sign in to comment.