This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [GOLD][PATCH] Fix sys/uio.h include in fileread.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, 15 Jun 2010 09:54:45 -0700
- Subject: Re: [GOLD][PATCH] Fix sys/uio.h include in fileread.cc
- References: <1276283967.4135.114.camel@dp690-dev5v11.accesssoftek.com>
Viktor Kutuzov <vkutuzov@accesssoftek.com> writes:
> please find attached a patch that fixes an including of sys/uio.h when
> if HAVE_READV is not defined. It prevents some compilation errors on the
> system, which don't have this file. Also it fixes a syntax error in the
> iovec definition.
Approved and applied, with this ChangeLog entry.
Thanks.
Ian
2010-06-15 Viktor Kutuzov <vkutuzov@accesssoftek.com>
* fileread.cc: Only #include <sys/uio.h> if HAVE_READV.
(struct iovec): Correct !HAVE_READV definition.