summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
Diffstat (limited to 'llvm')
-rw-r--r--llvm/lib/System/SunOS/TimeValue.cpp2
-rw-r--r--llvm/lib/System/Unix/TimeValue.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/System/SunOS/TimeValue.cpp b/llvm/lib/System/SunOS/TimeValue.cpp
index 7e47331b3f6..a4a238ba530 100644
--- a/llvm/lib/System/SunOS/TimeValue.cpp
+++ b/llvm/lib/System/SunOS/TimeValue.cpp
@@ -12,7 +12,7 @@
//===----------------------------------------------------------------------===//
// Include the generic Unix implementation
-#include "../Unix/Unix.cpp"
+#include "../Unix/TimeValue.cpp"
namespace llvm {
using namespace sys;
diff --git a/llvm/lib/System/Unix/TimeValue.cpp b/llvm/lib/System/Unix/TimeValue.cpp
index 6b476c86cad..d140af9add7 100644
--- a/llvm/lib/System/Unix/TimeValue.cpp
+++ b/llvm/lib/System/Unix/TimeValue.cpp
@@ -37,7 +37,7 @@ std::string TimeValue::toString() {
TimeValue TimeValue::now() {
struct timeval the_time;
- ::timerclear(&the_time);
+ timerclear(&the_time);
if (0 != ::gettimeofday(&the_time,0))
ThrowErrno("Couldn't obtain time of day");
OpenPOWER on IntegriCloud