summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/lib/Support/Timer.cpp1
-rw-r--r--llvm/support/lib/Support/Timer.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Support/Timer.cpp b/llvm/lib/Support/Timer.cpp
index fa4844597ed..fb38fcb6fe6 100644
--- a/llvm/lib/Support/Timer.cpp
+++ b/llvm/lib/Support/Timer.cpp
@@ -8,6 +8,7 @@
#include <sys/resource.h>
#include <sys/time.h>
#include <sys/unistd.h>
+#include <unistd.h>
#include <stdio.h>
#include <iostream>
#include <algorithm>
diff --git a/llvm/support/lib/Support/Timer.cpp b/llvm/support/lib/Support/Timer.cpp
index fa4844597ed..fb38fcb6fe6 100644
--- a/llvm/support/lib/Support/Timer.cpp
+++ b/llvm/support/lib/Support/Timer.cpp
@@ -8,6 +8,7 @@
#include <sys/resource.h>
#include <sys/time.h>
#include <sys/unistd.h>
+#include <unistd.h>
#include <stdio.h>
#include <iostream>
#include <algorithm>
OpenPOWER on IntegriCloud