[GOLD][PATCH] Fix sys/uio.h include in fileread.cc
Ian Lance Taylor
iant@google.com
Tue Jun 15 16:55:00 GMT 2010
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.
More information about the Binutils
mailing list