1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-14 11:49:53 +03:00
aports/community/jimtcl/include-stdio-h.patch
2025-04-28 20:55:51 +00:00

29 lines
729 B
Diff

Patch-Source: https://github.com/msteveb/jimtcl/commit/35e0e1f9b1f018666e5170a35366c5fc3b97309c
--
From 35e0e1f9b1f018666e5170a35366c5fc3b97309c Mon Sep 17 00:00:00 2001
From: Steve Bennett <steveb@workware.net.au>
Date: Thu, 29 Aug 2024 08:25:11 +1000
Subject: [PATCH] readline: work around buggy readline.h
Some versions don't included needed stdio.h
Fixes: #308
Signed-off-by: Steve Bennett <steveb@workware.net.au>
---
jim-readline.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/jim-readline.c b/jim-readline.c
index 5715b2c9..c83e649b 100644
--- a/jim-readline.c
+++ b/jim-readline.c
@@ -34,6 +34,8 @@
#include <jim.h>
+#include <stdio.h>
+
#include <readline/readline.h>
#include <readline/history.h>