Skip to content

Commit

Permalink
[compiler-rt] Include <dlfcn.h> unconditionally
Browse files Browse the repository at this point in the history
This fixes a build issue with musl-libc.

Differential Revision: https://reviews.llvm.org/D21656

llvm-svn: 291454
  • Loading branch information
kubamracek committed Jan 9, 2017
1 parent 82713bf commit ca6d868
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cc
Expand Up @@ -26,10 +26,7 @@
#include "sanitizer_procmaps.h"
#include "sanitizer_stacktrace.h"

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

#include <link.h>
#include <pthread.h>
#include <signal.h>
Expand Down

0 comments on commit ca6d868

Please sign in to comment.