summaryrefslogtreecommitdiffstats
path: root/debian/patches/rl-header.diff
blob: 769508135208969a3759f6a42f3a04317b495fe6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
rl-header.dpatch by  <doko@debian.org>

Include stdio.h in readline.h and history.h

--- a/history.h
+++ b/history.h
@@ -32,6 +32,7 @@ extern "C" {
 #  include "rlstdc.h"
 #  include "rltypedefs.h"
 #else
+#  include <stdio.h>
 #  include <readline/rlstdc.h>
 #  include <readline/rltypedefs.h>
 #endif
--- a/readline.h
+++ b/readline.h
@@ -32,6 +32,7 @@ extern "C" {
 #  include "keymaps.h"
 #  include "tilde.h"
 #else
+#  include <stdio.h>
 #  include <readline/rlstdc.h>
 #  include <readline/rltypedefs.h>
 #  include <readline/keymaps.h>