This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [GOLD][PATCH] Fix sys/times.h include in timer.cc
- From: Ian Lance Taylor <iant at google dot com>
- To: vkutuzov at accesssoftek dot com
- Cc: binutils <binutils at sourceware dot org>
- Date: Tue, 25 May 2010 17:13:18 -0700
- Subject: Re: [GOLD][PATCH] Fix sys/times.h include in timer.cc
- References: <1274385835.4435.43.camel@dp690-dev5v4.accesssoftek.com>
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.
Ian