qemu/qga/vss-win32
Michael Roth e55eb806db qga: fix w32 breakage due to missing osdep.h includes
requester.h relied on qemu/compiler.h definitions to
handle GCC_FMT_ATTR() stub, but this include was removed as part
of scripted clean-ups via 30456d5:

  all: Clean up includes

under the assumption that all C files would have included it via
qemu/osdep.h at that point. requester.cpp was likely missed
due to C++ files requiring manual/special handling as well as
VSS build options needing to be enabled to trigger build failures.

Fix this by including qemu/osdep.h. That in turn pulls in a
macro from qapi/error.h that conflicts with a struct field name
in requester.h, so fix that as well by renaming the field.

While we're at it, fix up provider.cpp/install.cpp to include
osdep.h as well.

Cc: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
2016-02-25 10:54:32 -06:00
..
install.cpp qga: fix w32 breakage due to missing osdep.h includes 2016-02-25 10:54:32 -06:00
Makefile.objs qga: fitering out -fstack-protector-strong 2015-04-02 15:57:27 +02:00
provider.cpp qga: fix w32 breakage due to missing osdep.h includes 2016-02-25 10:54:32 -06:00
qga-vss.def qemu-ga: Add Windows VSS provider and requester as DLL 2013-09-09 14:17:57 -05:00
qga-vss.idl qemu-ga: Add Windows VSS provider and requester as DLL 2013-09-09 14:17:57 -05:00
qga-vss.tlb qemu-ga: Add Windows VSS provider and requester as DLL 2013-09-09 14:17:57 -05:00
requester.cpp qga: fix w32 breakage due to missing osdep.h includes 2016-02-25 10:54:32 -06:00
requester.h qga: fix w32 breakage due to missing osdep.h includes 2016-02-25 10:54:32 -06:00
vss-common.h all: Clean up includes 2016-02-23 12:43:05 +00:00