diff options
author | Stefan Weil <sw@weilnetz.de> | 2013-11-10 18:49:11 +0100 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2013-11-13 15:59:06 +0400 |
commit | ba1c29310904b34265203e86e133fe177e9f6511 (patch) | |
tree | fa70876748cd80eacfec19c12e7d903561b68f00 /qga/vss-win32 | |
parent | fe863ab9855478e693d63f306141eb242217b424 (diff) | |
download | qemu-ba1c29310904b34265203e86e133fe177e9f6511.zip qemu-ba1c29310904b34265203e86e133fe177e9f6511.tar.gz qemu-ba1c29310904b34265203e86e133fe177e9f6511.tar.bz2 |
qga: Fix compilation for old versions of MinGW
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 <sw@weilnetz.de>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'qga/vss-win32')
-rw-r--r-- | qga/vss-win32/requester.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qga/vss-win32/requester.h b/qga/vss-win32/requester.h index cffec01..374f9b8 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 <basetyps.h> /* STDAPI */ #include "qemu/compiler.h" #ifdef __cplusplus |