diff options
author | Kuba Mracek <mracek@apple.com> | 2017-07-10 17:11:52 +0000 |
---|---|---|
committer | Kuba Mracek <mracek@apple.com> | 2017-07-10 17:11:52 +0000 |
commit | a4df49d1faa1b93af613901e308b1dc49969f824 (patch) | |
tree | 406f62df6305febd65918223d607132b65305b64 /test/tsan | |
parent | 0973c5bae91bd6fca844603a7af736645f7cbe10 (diff) |
Fix-up for r307537: We need to #include stdint.h to get int32_t.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@307557 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/tsan')
-rw-r--r-- | test/tsan/Darwin/osspinlock-norace.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/tsan/Darwin/osspinlock-norace.cc b/test/tsan/Darwin/osspinlock-norace.cc index 837da3b17..5de02c225 100644 --- a/test/tsan/Darwin/osspinlock-norace.cc +++ b/test/tsan/Darwin/osspinlock-norace.cc @@ -1,5 +1,6 @@ // RUN: %clangxx_tsan -O1 %s -o %t && %run %t 2>&1 | FileCheck %s #include <pthread.h> +#include <stdint.h> #include <stdio.h> typedef int32_t OSSpinLock; |