diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-05-31 09:26:31 +0000 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-05-31 09:26:31 +0000 |
commit | af3226752b4de38df6b486f5e8949152d1c1daed (patch) | |
tree | bf8d52f79e460a700548583cf39ea59da513fac5 | |
parent | 3891885ca06a6e390fc281f59130f07d36214400 (diff) | |
download | bcm5719-llvm-af3226752b4de38df6b486f5e8949152d1c1daed.tar.gz bcm5719-llvm-af3226752b4de38df6b486f5e8949152d1c1daed.zip |
Missing include
(For some reason, my Mac build complained about unknown pthread_once_t and
PTHREAD_ONCE_INIT, but not about pthread_once itself.)
llvm-svn: 333638
-rw-r--r-- | compiler-rt/lib/xray/xray_profile_collector.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler-rt/lib/xray/xray_profile_collector.cc b/compiler-rt/lib/xray/xray_profile_collector.cc index 28eb096f48e..b153affd874 100644 --- a/compiler-rt/lib/xray/xray_profile_collector.cc +++ b/compiler-rt/lib/xray/xray_profile_collector.cc @@ -16,6 +16,7 @@ #include "sanitizer_common/sanitizer_common.h" #include "sanitizer_common/sanitizer_vector.h" #include "xray_profiler_flags.h" +#include <pthread.h> #include <memory> #include <utility> |