[GOLD][PATCH] Fix sys/uio.h include in fileread.cc
Ian Lance Taylor
Tue Jun 15 16:55:00 GMT 2010
Viktor Kutuzov <email@example.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.
2010-06-15 Viktor Kutuzov <firstname.lastname@example.org>
* fileread.cc: Only #include <sys/uio.h> if HAVE_READV.
(struct iovec): Correct !HAVE_READV definition.
More information about the Binutils