readline 5.2: add missing include to stdio.h
authorMichael 'Mickey' Lauer <mickey@vanille-media.de>
Thu, 11 Mar 2010 11:40:32 +0000 (12:40 +0100)
committerMichael 'Mickey' Lauer <mickey@vanille-media.de>
Thu, 11 Mar 2010 11:41:39 +0000 (12:41 +0100)
Include headers are usually required to be self-contained; only
the readline team sees that quite differently.

recipes/readline/readline-5.2/fix-includes.patch [new file with mode: 0644]

diff --git a/recipes/readline/readline-5.2/fix-includes.patch b/recipes/readline/readline-5.2/fix-includes.patch
new file mode 100644 (file)
index 0000000..8ec398d
--- /dev/null
@@ -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