summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouglas Yung <douglas.yung@sony.com>2018-11-21 08:54:40 +0000
committerDouglas Yung <douglas.yung@sony.com>2018-11-21 08:54:40 +0000
commitffc98df94fadb4611c6a5395f3b09bb084cbdb95 (patch)
treed4837e30521a6f1ef4ca735bd2e82b2136009046
parent07725f5b2512924f15ee84acaeef31a6a28b17db (diff)
downloadcompiler-rt-ffc98df94fadb4611c6a5395f3b09bb084cbdb95.tar.gz
Add header <atomic> which is needed to compile with some older library versions.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@347382 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/xray/TestCases/Posix/fdr-reinit.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/xray/TestCases/Posix/fdr-reinit.cc b/test/xray/TestCases/Posix/fdr-reinit.cc
index e5e53baf9..dc9888d6e 100644
--- a/test/xray/TestCases/Posix/fdr-reinit.cc
+++ b/test/xray/TestCases/Posix/fdr-reinit.cc
@@ -3,6 +3,7 @@
// RUN: XRAY_OPTIONS="verbosity=1" %run %t
// RUN: rm xray-log.fdr-reinit* || true
#include "xray/xray_log_interface.h"
+#include <atomic>
#include <cassert>
#include <cstddef>
#include <thread>