Skip to content

Commit

Permalink
readline: work around buggy readline.h
Browse files Browse the repository at this point in the history
Some versions don't included needed stdio.h

Fixes: #308

Signed-off-by: Steve Bennett <steveb@workware.net.au>
  • Loading branch information
msteveb committed Aug 28, 2024
1 parent f160866 commit 35e0e1f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions jim-readline.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@

#include <jim.h>

#include <stdio.h>

#include <readline/readline.h>
#include <readline/history.h>

Expand Down

0 comments on commit 35e0e1f

Please sign in to comment.