aboutsummaryrefslogtreecommitdiff
path: root/gold/timer.cc
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>2012-04-06 17:21:55 +0000
committerIan Lance Taylor <ian@airs.com>2012-04-06 17:21:55 +0000
commit8c7a0b00aa8b1fb0cd0c2e6122d9321ac65c319a (patch)
tree904584f8184de3525c140058b8db641489f41ac7 /gold/timer.cc
parent58797674628264ab9d71631970f74000dc522e81 (diff)
downloadgdb-8c7a0b00aa8b1fb0cd0c2e6122d9321ac65c319a.zip
gdb-8c7a0b00aa8b1fb0cd0c2e6122d9321ac65c319a.tar.gz
gdb-8c7a0b00aa8b1fb0cd0c2e6122d9321ac65c319a.tar.bz2
* timer.cc: #include <unistd.h>.
Diffstat (limited to 'gold/timer.cc')
-rw-r--r--gold/timer.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/gold/timer.cc b/gold/timer.cc
index 1423663..f3a1c91 100644
--- a/gold/timer.cc
+++ b/gold/timer.cc
@@ -22,6 +22,8 @@
#include "gold.h"
+#include <unistd.h>
+
#ifdef HAVE_TIMES
#include <sys/times.h>
#endif