Blame SOURCES/0002-readline-includes.patch

7dc36e
Fix including readline and readline history headers in OpenIPMI 2.0.27
7dc36e
7dc36e
It will probably be fixed in next release
7dc36e
    
7dc36e
diff --git a/cmdlang/ipmish.c b/cmdlang/ipmish.c
7dc36e
index 139da67b..a4b8f0ba 100644
7dc36e
--- a/cmdlang/ipmish.c
7dc36e
+++ b/cmdlang/ipmish.c
7dc36e
@@ -51,6 +51,7 @@
7dc36e
 #include <OpenIPMI/ipmi_cmdlang.h>
7dc36e
 #include <OpenIPMI/ipmi_debug.h>
7dc36e
 #include <readline/readline.h>
7dc36e
+#include <readline/history.h>
7dc36e
 
7dc36e
 #ifdef HAVE_GLIB
7dc36e
 #include <glib.h>
7dc36e
diff --git a/sample/ipmi_serial_bmc_emu.c b/sample/ipmi_serial_bmc_emu.c
7dc36e
index e0ae0197..184745ef 100644
7dc36e
--- a/sample/ipmi_serial_bmc_emu.c
7dc36e
+++ b/sample/ipmi_serial_bmc_emu.c
7dc36e
@@ -42,7 +42,8 @@
7dc36e
 #include <unistd.h>
7dc36e
 #include <stdlib.h>
7dc36e
 #include <sys/select.h>
7dc36e
-#include <editline/readline.h>
7dc36e
+#include <readline/readline.h>
7dc36e
+#include <readline/history.h>
7dc36e
 
7dc36e
 #define _GNU_SOURCE
7dc36e
 #include <getopt.h>