[PATCH GOLD] [2/N mingw host] Fix pread.c

Ian Lance Taylor iant@google.com
Fri Oct 9 23:11:00 GMT 2009


Andrew Pinski <Andrew_Pinski@playstation.sony.com> writes:

>   Under mingw, SEEK_SET is not defined in unistd.h but instead
> stdio.h.  This currently causes pread.c to fail to build.
>
> OK? Built and tested on i686-linux-gnu.
>
> Thanks,
> Andrew Pinski
>
> ChangeLog:
> * pread.c: Include stdio.h.

Approved and applied.

Thanks.

Ian



More information about the Binutils mailing list