aboutsummaryrefslogtreecommitdiff
path: root/qga/vss-win32/vss-common.h
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2022-01-31 23:47:37 +0400
committerPaolo Bonzini <pbonzini@redhat.com>2022-02-21 10:35:53 +0100
commit61fb0bd1f6eaec5f9715031df79c7bbba72acbd9 (patch)
treecf27930726d6aa53643a0021f9ed7e8cebfb31aa /qga/vss-win32/vss-common.h
parent1dbb74e86f15116a72996bf9614baf29a0a43b57 (diff)
qga/vss: use standard windows headers location
Stop using special paths with outdated headers from an old SDK. Instead, use standard include paths. You can still build against the old SDK by running configure with --extra-cxxflags="-isystem /path/to/inc/win2003/" (this also allows to build against MinGW headers, which are currently broken as in 9.0) Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'qga/vss-win32/vss-common.h')
-rw-r--r--qga/vss-win32/vss-common.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/qga/vss-win32/vss-common.h b/qga/vss-win32/vss-common.h
index 61c170b52e..54f8de8c88 100644
--- a/qga/vss-win32/vss-common.h
+++ b/qga/vss-win32/vss-common.h
@@ -46,11 +46,7 @@
#undef VSS_E_MAXIMUM_NUMBER_OF_VOLUMES_REACHED
#undef VSS_E_MAXIMUM_NUMBER_OF_SNAPSHOTS_REACHED
-/*
- * VSS headers must be installed from Microsoft VSS SDK 7.2 available at:
- * http://www.microsoft.com/en-us/download/details.aspx?id=23490
- */
-#include <inc/win2003/vss.h>
+#include <vss.h>
#include "vss-handles.h"
/* Macros to convert char definitions to wchar */