[Spice-devel] [PATCH] common: fix build with mingw

Victor Toso victortoso at redhat.com
Tue Jan 6 09:05:46 PST 2015


Building spice-common is breaking with mingw: http://fpaste.org/166365/
This patch fixes it

---
 common/ssl_verify.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/ssl_verify.h b/common/ssl_verify.h
index bfbd8a4..e4a0406 100644
--- a/common/ssl_verify.h
+++ b/common/ssl_verify.h
@@ -19,7 +19,7 @@
 #ifndef SSL_VERIFY_H
 #define SSL_VERIFY_H
 
-#if defined(WIN32) && !defined(__MINGW32__)
+#if defined(WIN32)
 #include <windows.h>
 #include <wincrypt.h>
 #endif
-- 
2.1.0



More information about the Spice-devel mailing list