python-dataproperty: bump version to 0.17.0
[buildroot-gz.git] / package / ddrescue / 0001-io.cc-add-stdio.h-include.patch
blobe719c708e891c754b182fb68853210990c85f91d
1 From 0f72787b922c53c33d497b17300a959b911e621f Mon Sep 17 00:00:00 2001
2 From: Peter Seiderer <ps.report@gmx.net>
3 Date: Tue, 14 Feb 2017 20:12:05 +0100
4 Subject: [PATCH] io.cc: add stdio.h include
5 MIME-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
9 Fixes buildroot compile failure with uclibc [1]:
11 In file included from io.cc:28:0:
12 block.h:219:22: error: ‘FILE’ has not been declared
13 int write_mapfile( FILE * f = 0, const bool timestamp = false,
15 [1] http://autobuild.buildroot.net/results/4ac0754f1cc5ea934d6437e89d1f4906fb3fd0a8
17 Signed-off-by: Peter Seiderer <ps.report@gmx.net>
18 ---
19 io.cc | 1 +
20 1 file changed, 1 insertion(+)
22 diff --git a/io.cc b/io.cc
23 index 36b8341..2d6a76e 100644
24 --- a/io.cc
25 +++ b/io.cc
26 @@ -23,6 +23,7 @@
27 #include <string>
28 #include <vector>
29 #include <stdint.h>
30 +#include <stdio.h>
31 #include <unistd.h>
33 #include "block.h"
34 --
35 2.11.0