summaryrefslogtreecommitdiff
path: root/lib/Support/Timer.cpp
diff options
context:
space:
mode:
authorAnand Shukla <ashukla@cs.uiuc.edu>2002-10-04 23:57:01 +0000
committerAnand Shukla <ashukla@cs.uiuc.edu>2002-10-04 23:57:01 +0000
commit34008373748f334b380972c67938c41f2e98582a (patch)
treec65694851c8d8cbd9ddfe132c71d344a87fa4d8f /lib/Support/Timer.cpp
parentc1d4d79d9350373569b6764d9c053e7b096bb7bc (diff)
downloadllvm-34008373748f334b380972c67938c41f2e98582a.tar.gz
llvm-34008373748f334b380972c67938c41f2e98582a.tar.bz2
llvm-34008373748f334b380972c67938c41f2e98582a.tar.xz
Added #include<unistd.h> to compile with solaris gcc3.2
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4042 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/Timer.cpp')
-rw-r--r--lib/Support/Timer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Support/Timer.cpp b/lib/Support/Timer.cpp
index fa4844597e..fb38fcb6fe 100644
--- a/lib/Support/Timer.cpp
+++ b/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>