summaryrefslogtreecommitdiffstats
path: root/qga/vss-win32
diff options
context:
space:
mode:
authorStefan Weil2013-11-10 18:49:11 +0100
committerMichael Tokarev2013-11-13 12:59:06 +0100
commitba1c29310904b34265203e86e133fe177e9f6511 (patch)
treefa70876748cd80eacfec19c12e7d903561b68f00 /qga/vss-win32
parent.travis.yml: basic compile and check recipes (diff)
downloadqemu-ba1c29310904b34265203e86e133fe177e9f6511.tar.gz
qemu-ba1c29310904b34265203e86e133fe177e9f6511.tar.xz
qemu-ba1c29310904b34265203e86e133fe177e9f6511.zip
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.h1
1 files changed, 1 insertions, 0 deletions
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 <basetyps.h> /* STDAPI */
#include "qemu/compiler.h"
#ifdef __cplusplus