This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH GOLD] [2/N mingw host] Fix pread.c
- From: Ian Lance Taylor <iant at google dot com>
- To: Andrew Pinski <Andrew_Pinski at playstation dot sony dot com>
- Cc: binutils <binutils at sourceware dot org>
- Date: Fri, 09 Oct 2009 16:10:46 -0700
- Subject: Re: [PATCH GOLD] [2/N mingw host] Fix pread.c
- References: <de8d50360910061716mc30ee1at6ed3893cd0465538@mail.gmail.com>
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