summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/Support/TimerTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/unittests/Support/TimerTest.cpp')
-rw-r--r--llvm/unittests/Support/TimerTest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/unittests/Support/TimerTest.cpp b/llvm/unittests/Support/TimerTest.cpp
index 8f05b353476..f556a3f72c6 100644
--- a/llvm/unittests/Support/TimerTest.cpp
+++ b/llvm/unittests/Support/TimerTest.cpp
@@ -13,7 +13,7 @@
#if LLVM_ON_WIN32
#include <windows.h>
#else
-#include <ctime>
+#include <time.h>
#endif
using namespace llvm;
@@ -62,4 +62,4 @@ TEST(Timer, CheckIfTriggered) {
EXPECT_FALSE(T1.hasTriggered());
}
-} // end anonymous namespace
+} // end anon namespace
OpenPOWER on IntegriCloud