Blob Blame Raw
Fix including readline and readline history headers in OpenIPMI 2.0.27

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