This is a v2 of:
https://www.redhat.com/archives/libvir-list/2020-September/msg00107.html
diff to v1:
- Patch 1/2 is completely new, it removes include of readline from
virsh.c and virt-admin.c, so that patch 2/2 can be unchanged.
Michal Prívozník (2):
vsh: Introduce wrapper for add_history()
vsh: Define HAVE_STDARG_H before including readline
tools/virsh.c | 10 ++--------
tools/virt-admin.c | 10 ++--------
tools/vsh.c | 16 ++++++++++++++++
tools/vsh.h | 2 ++
4 files changed, 22 insertions(+), 16 deletions(-)
--
2.26.2