summaryrefslogtreecommitdiff
path: root/recipes/readline
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/readline')
-rw-r--r--recipes/readline/readline-5.2/fix-includes.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/recipes/readline/readline-5.2/fix-includes.patch b/recipes/readline/readline-5.2/fix-includes.patch
new file mode 100644
index 0000000000..8ec398d9fe
--- /dev/null
+++ b/recipes/readline/readline-5.2/fix-includes.patch
@@ -0,0 +1,13 @@
+Index: readline-5.2/rltypedefs.h
+===================================================================
+--- readline-5.2.orig/rltypedefs.h
++++ readline-5.2/rltypedefs.h
+@@ -23,6 +23,8 @@
+ #ifndef _RL_TYPEDEFS_H_
+ #define _RL_TYPEDEFS_H_
+
++#include <stdio.h>
++
+ #ifdef __cplusplus
+ extern "C" {
+ #endif