summaryrefslogtreecommitdiffstats
path: root/llvm/support/lib
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
commitb8aef8eff8f051cba32e0c706217ca5352587c97 (patch)
treebfa3ee70c4945fe2918ae30ed123fedbed63fa52 /llvm/support/lib
parent195d3fb37f6b08d83e4047a16609127d54cb0b0d (diff)
downloadbcm5719-llvm-b8aef8eff8f051cba32e0c706217ca5352587c97.tar.gz
bcm5719-llvm-b8aef8eff8f051cba32e0c706217ca5352587c97.zip
Added #include<unistd.h> to compile with solaris gcc3.2
llvm-svn: 4042
Diffstat (limited to 'llvm/support/lib')
-rw-r--r--llvm/support/lib/Support/Timer.cpp1
1 files changed, 1 insertions, 0 deletions
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