This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [GOLD][PATCH] Fix sys/uio.h include in fileread.cc


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]