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

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Tue Feb 14 21:43:57 UTC 2017


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!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com


More information about the buildroot mailing list