OpenIPMI/0002-readline-includes.patch

25 lines
659 B
Diff
Raw Normal View History

diff --git a/cmdlang/ipmish.c b/cmdlang/ipmish.c
2019-12-16 10:49:30 +00:00
index 139da67..a4b8f0b 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
2019-12-16 10:49:30 +00:00
index 1b8bb9a..184745e 100644
--- a/sample/ipmi_serial_bmc_emu.c
+++ b/sample/ipmi_serial_bmc_emu.c
2019-12-16 10:49:30 +00:00
@@ -43,6 +43,7 @@
#include <stdlib.h>
#include <sys/select.h>
2019-12-16 10:49:30 +00:00
#include <readline/readline.h>
+#include <readline/history.h>
#define _GNU_SOURCE
#include <getopt.h>