projects/aports·blob master · refs

29 lines · 729 B

1Patch-Source: https://github.com/msteveb/jimtcl/commit/35e0e1f9b1f018666e5170a35366c5fc3b97309c
2--
3From 35e0e1f9b1f018666e5170a35366c5fc3b97309c Mon Sep 17 00:00:00 2001
4From: Steve Bennett <[email protected]>
5Date: Thu, 29 Aug 2024 08:25:11 +1000
6Subject: [PATCH] readline: work around buggy readline.h
7
8Some versions don't included needed stdio.h
9
10Fixes: #308
11
12Signed-off-by: Steve Bennett <[email protected]>
13---
14 jim-readline.c | 2 ++
15 1 file changed, 2 insertions(+)
16
17diff --git a/jim-readline.c b/jim-readline.c
18index 5715b2c9..c83e649b 100644
19--- a/jim-readline.c
20+++ b/jim-readline.c
21@@ -34,6 +34,8 @@
22
23 #include <jim.h>
24
25+#include <stdio.h>
26+
27 #include <readline/readline.h>
28 #include <readline/history.h>
29