diff --git a/gold/ChangeLog b/gold/ChangeLog index b66743ae339..a76baf8b74b 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,7 @@ +2010-05-25 Viktor Kutuzov + + * timer.cc: Only #include if HAVE_TIMES is defined. + 2010-05-23 Doug Kwan * arm.cc (Arm_input_section::do_output_offset): Use convert_types diff --git a/gold/timer.cc b/gold/timer.cc index ec51bc9151e..29eaa5561a7 100644 --- a/gold/timer.cc +++ b/gold/timer.cc @@ -1,6 +1,6 @@ // timer.cc -- helper class for time accounting -// Copyright 2009 Free Software Foundation, Inc. +// Copyright 2009, 2010 Free Software Foundation, Inc. // Written by Rafael Avila de Espindola . // This file is part of gold. @@ -22,7 +22,9 @@ #include "gold.h" +#ifdef HAVE_TIMES #include +#endif #include "libiberty.h"