summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Hahnfeld <hahnjo@hahnjo.de>2017-12-27 10:39:02 +0000
committerJonas Hahnfeld <hahnjo@hahnjo.de>2017-12-27 10:39:02 +0000
commit3bd6c8e44cf530bbf8c0e57b571f4bfc7d48b698 (patch)
tree1dddbf1ebd313a381917886a1f628e431d6f1264
parent1955731016e1b27c652692c70fced5ff72b403ad (diff)
[XRay] Add missing include to unit test
FDRLoggingTest::MultiThreadedCycling uses std::array so we need to include the right C++ header and not rely on transitive dependencies. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@321485 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/xray/tests/unit/fdr_logging_test.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/xray/tests/unit/fdr_logging_test.cc b/lib/xray/tests/unit/fdr_logging_test.cc
index 1009d56a4..76738ea4d 100644
--- a/lib/xray/tests/unit/fdr_logging_test.cc
+++ b/lib/xray/tests/unit/fdr_logging_test.cc
@@ -13,6 +13,7 @@
#include "xray_fdr_logging.h"
#include "gtest/gtest.h"
+#include <array>
#include <fcntl.h>
#include <iostream>
#include <sys/mman.h>