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