aboutsummaryrefslogtreecommitdiff
path: root/qga
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2013-11-10 18:49:11 +0100
committerMichael Tokarev <mjt@tls.msk.ru>2013-11-13 15:59:06 +0400
commitba1c29310904b34265203e86e133fe177e9f6511 (patch)
treefa70876748cd80eacfec19c12e7d903561b68f00 /qga
parentfe863ab9855478e693d63f306141eb242217b424 (diff)
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')
-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