]> git.ipfire.org Git - thirdparty/libvirt.git/commit
vsh: Define HAVE_STDARG_H before including readline
authorMichal Privoznik <mprivozn@redhat.com>
Wed, 2 Sep 2020 14:37:04 +0000 (16:37 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 3 Sep 2020 14:25:43 +0000 (16:25 +0200)
commit4bb1a0e4889ce7853cfa76249c295eebbbca50ab
tree44b80b5f317ccd2d10194e1854f2438b83d35196
parentf123412b5321c199f2ae32feb544f2eba5300f76
vsh: Define HAVE_STDARG_H before including readline

As it turned out my previous commits which switched from HAVE_ to
WITH_ and dropped stdarg.h detection were a bit too aggressive.
Because of reasons described in 9ea3424a178 we need to define
HAVE_STDARG_H before including readline otherwise macos build
fails. Honestly, I still don't fully understand the problem so I
am not going to bother you with "explanation".

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
tools/vsh.c