summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael 'Mickey' Lauer <mickey@vanille-media.de>2010-03-11 12:40:32 +0100
committerMichael 'Mickey' Lauer <mickey@vanille-media.de>2010-03-11 12:41:39 +0100
commit4891edc5e04a3c2bba3b121b323378d4ff062b2a (patch)
tree195c59017ffad009f199acead832f68617f3f2e2
parente2fb432ca9f375defad1491a3ae83c473f6036fb (diff)
readline 5.2: add missing include to stdio.h
Include headers are usually required to be self-contained; only the readline team sees that quite differently.
-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