[GOLD][PATCH] Fix sys/times.h include in timer.cc

Ian Lance Taylor iant@google.com
Wed May 26 00:13:00 GMT 2010

Viktor Kutuzov <vkutuzov@accesssoftek.com> writes:

> please find attached a patch that fixes an including of sys/times.h when
> if HAVE_TIMES is not defined. It prevents some compilation errors on the
> system, which don't have this file.

Thanks.  Approved and applied with this ChangeLog entry.

2010-05-25  Viktor Kutuzov  <vkutuzov@accesssoftek.com>

	* timer.cc: Only #include <sys/times.h> if HAVE_TIMES is defined.


More information about the Binutils mailing list