From 5aac22fc234d8fbe83c72f58b35d1e50a9f42ff7 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Wed, 27 Apr 2016 12:59:35 +0000 Subject: tsan: fix build error: implicit declaration of function 'abort' is invalid in C99 llvm-svn: 267710 --- compiler-rt/lib/tsan/go/test.c | 1 + 1 file changed, 1 insertion(+) (limited to 'compiler-rt/lib/tsan/go') 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 +#include void __tsan_init(void **thr, void **proc, void (*cb)(long, void*)); void __tsan_fini(); -- cgit v1.2.3