summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2016-04-27 12:59:35 +0000
committerDmitry Vyukov <dvyukov@google.com>2016-04-27 12:59:35 +0000
commit5aac22fc234d8fbe83c72f58b35d1e50a9f42ff7 (patch)
tree8e068251f25be71573a5da96b142baf871785af6
parent30452f820b5f3c623e7ed2918da6d842a4d11319 (diff)
downloadbcm5719-llvm-5aac22fc234d8fbe83c72f58b35d1e50a9f42ff7.tar.gz
bcm5719-llvm-5aac22fc234d8fbe83c72f58b35d1e50a9f42ff7.zip
tsan: fix build
error: implicit declaration of function 'abort' is invalid in C99 llvm-svn: 267710
-rw-r--r--compiler-rt/lib/tsan/go/test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler-rt/lib/tsan/go/test.c b/compiler-rt/lib/tsan/go/test.c
index 51ccf29ead2..b3e31b1feaa 100644
--- a/compiler-rt/lib/tsan/go/test.c
+++ b/compiler-rt/lib/tsan/go/test.c
@@ -12,6 +12,7 @@
//===----------------------------------------------------------------------===//
#include <stdio.h>
+#include <stdlib.h>
void __tsan_init(void **thr, void **proc, void (*cb)(long, void*));
void __tsan_fini();
OpenPOWER on IntegriCloud