summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/scudo/standalone/tsd.h
diff options
context:
space:
mode:
Diffstat (limited to 'compiler-rt/lib/scudo/standalone/tsd.h')
-rw-r--r--compiler-rt/lib/scudo/standalone/tsd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler-rt/lib/scudo/standalone/tsd.h b/compiler-rt/lib/scudo/standalone/tsd.h
index 626cc4b80fb..20f0d69cabf 100644
--- a/compiler-rt/lib/scudo/standalone/tsd.h
+++ b/compiler-rt/lib/scudo/standalone/tsd.h
@@ -14,6 +14,7 @@
#include "mutex.h"
#include <limits.h> // for PTHREAD_DESTRUCTOR_ITERATIONS
+#include <pthread.h>
// With some build setups, this might still not be defined.
#ifndef PTHREAD_DESTRUCTOR_ITERATIONS
OpenPOWER on IntegriCloud