From ba1c29310904b34265203e86e133fe177e9f6511 Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Sun, 10 Nov 2013 18:49:11 +0100 Subject: qga: Fix compilation for old versions of MinGW MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit While MinGW-w64 can compile the qga code, MinGW from Debian lenny (gcc-mingw32 4.4.2-3) shows these errors: In file included from qga/vss-win32.c:17: qga/vss-win32/requester.h:31: error: expected »=«, »,«, »;«, »asm« or »__attribute__« before »requester_init« qga/vss-win32/requester.h:32: error: expected »=«, »,«, »;«, »asm« or »__attribute__« before »requester_deinit« The macro STDAPI is unknown, so add the missing include file which defines it. Signed-off-by: Stefan Weil Signed-off-by: Michael Tokarev --- qga/vss-win32/requester.h | 1 + 1 file changed, 1 insertion(+) (limited to 'qga/vss-win32/requester.h') diff --git a/qga/vss-win32/requester.h b/qga/vss-win32/requester.h index cffec01791..374f9b8d16 100644 --- a/qga/vss-win32/requester.h +++ b/qga/vss-win32/requester.h @@ -13,6 +13,7 @@ #ifndef VSS_WIN32_REQUESTER_H #define VSS_WIN32_REQUESTER_H +#include /* STDAPI */ #include "qemu/compiler.h" #ifdef __cplusplus -- cgit v1.2.3