[Buildroot] [PATCH v1] ddrescue: fix uclibc compile

Peter Seiderer ps.report at gmx.net
Wed Feb 15 13:55:31 UTC 2017


Hello Thomas,

On Tue, 14 Feb 2017 22:43:57 +0100, Thomas Petazzoni <thomas.petazzoni at free-electrons.com> wrote:

> Hello,
> 
> On Tue, 14 Feb 2017 20:45:08 +0100, Peter Seiderer wrote:
> > Fixes compile failure with uclibc [1] because of missing stdio.h include:
> > 
> >   In file included from io.cc:28:0:
> >   block.h:219:22: error: ‘FILE’ has not been declared
> >      int write_mapfile( FILE * f = 0, const bool timestamp = false,
> > 
> > [1] http://autobuild.buildroot.net/results/4ac0754f1cc5ea934d6437e89d1f4906fb3fd0a8
> > 
> > Signed-off-by: Peter Seiderer <ps.report at gmx.net>
> > ---
> >  .../ddrescue/0001-io.cc-add-stdio.h-include.patch  | 36 ++++++++++++++++++++++
> >  1 file changed, 36 insertions(+)
> >  create mode 100644 package/ddrescue/0001-io.cc-add-stdio.h-include.patch
> 
> Applied to master, thanks. Please submit upstream as well. Thanks!
> 

Already submitted upstream:

http://lists.gnu.org/archive/html/bug-ddrescue/2017-02/msg00001.html

Regards,
Peter

> Thomas




More information about the buildroot mailing list