summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--compiler-rt/test/tsan/Darwin/external.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler-rt/test/tsan/Darwin/external.cc b/compiler-rt/test/tsan/Darwin/external.cc
index f1c6ebb802f..3c5e71a0f8f 100644
--- a/compiler-rt/test/tsan/Darwin/external.cc
+++ b/compiler-rt/test/tsan/Darwin/external.cc
@@ -17,6 +17,7 @@
#include <dlfcn.h>
#include <pthread.h>
#include <stdio.h>
+#include <stdlib.h>
struct MyObject;
typedef MyObject *MyObjectRef;
OpenPOWER on IntegriCloud