[Spice-commits] vdagent/file_xfer.cpp
Christophe Fergau
teuf at kemper.freedesktop.org
Thu Apr 30 05:01:15 PDT 2015
vdagent/file_xfer.cpp | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 7fb2e2beccba95f6034983b5f5a066dbb99a7aab
Author: Frediano Ziglio <fziglio at redhat.com>
Date: Thu Apr 23 08:22:24 2015 -0400
vdagent-win: Fix compile under MingW
Including directly shlobj.h in some MingW environment lead to some missing
definitions error. Including windows.h before fix the problem.
Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
diff --git a/vdagent/file_xfer.cpp b/vdagent/file_xfer.cpp
index d6b8d26..58d3a31 100644
--- a/vdagent/file_xfer.cpp
+++ b/vdagent/file_xfer.cpp
@@ -15,6 +15,7 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#include <windows.h>
#include <shlobj.h>
#define __STDC_FORMAT_MACROS
#define __USE_MINGW_ANSI_STDIO 1
More information about the Spice-commits
mailing list