summaryrefslogtreecommitdiffstats
path: root/patches/readline-6.2/0002-rl-header.patch
blob: d729e2e02b3ae0cf1abc1cb9213038add1b25ab1 (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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
From 1667707d568e8c5b6380ea5a8ac5edfe03c2090d Mon Sep 17 00:00:00 2001
From: doko@debian.org <doko@debian.org>
Date: Sun, 24 Jan 2010 00:31:22 +0100
Subject: [PATCH 2/6] rl-header.

rl-header.dpatch by  <doko@debian.org>

from:
http://ftp.de.debian.org/debian/pool/main/r/readline6/readline6_6.1-1.diff.gz

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
---
 history.h  |    1 +
 readline.h |    1 +
 2 files changed, 2 insertions(+)

Index: readline-6.2/history.h
===================================================================
--- readline-6.2.orig/history.h
+++ readline-6.2/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
Index: readline-6.2/readline.h
===================================================================
--- readline-6.2.orig/readline.h
+++ readline-6.2/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>