diff options
author | Ian Lance Taylor <ian@airs.com> | 2012-04-06 17:21:55 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 2012-04-06 17:21:55 +0000 |
commit | 8c7a0b00aa8b1fb0cd0c2e6122d9321ac65c319a (patch) | |
tree | 904584f8184de3525c140058b8db641489f41ac7 | |
parent | 58797674628264ab9d71631970f74000dc522e81 (diff) | |
download | gdb-8c7a0b00aa8b1fb0cd0c2e6122d9321ac65c319a.zip gdb-8c7a0b00aa8b1fb0cd0c2e6122d9321ac65c319a.tar.gz gdb-8c7a0b00aa8b1fb0cd0c2e6122d9321ac65c319a.tar.bz2 |
* timer.cc: #include <unistd.h>.
-rw-r--r-- | gold/ChangeLog | 4 | ||||
-rw-r--r-- | gold/timer.cc | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog index e68190b..c663ca7 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,7 @@ +2012-04-06 Ian Lance Taylor <iant@google.com> + + * timer.cc: #include <unistd.h>. + 2012-04-06 Roland McGrath <mcgrathr@google.com> * configure.in (AC_CHECK_HEADERS): Add locale.h. 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 |