diff options
author | Dmitry Vyukov <dvyukov@google.com> | 2016-04-27 12:59:35 +0000 |
---|---|---|
committer | Dmitry Vyukov <dvyukov@google.com> | 2016-04-27 12:59:35 +0000 |
commit | ca36bb3011f06545e4feffce017ac4b1b353de4f (patch) | |
tree | 1f7197b8f36692a6cc30a2dea782007a639a6792 /lib | |
parent | cd91beb57373b973766b42fb3759ee533c1eca9d (diff) |
tsan: fix build
error: implicit declaration of function 'abort' is invalid in C99
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@267710 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/tsan/go/test.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/tsan/go/test.c b/lib/tsan/go/test.c index 51ccf29ea..b3e31b1fe 100644 --- a/lib/tsan/go/test.c +++ b/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(); |