From d15b9673299f3181a4443692ff271b79c14f84e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ole=20Andr=C3=A9=20Vadla=20Ravn=C3=A5s?= Date: Mon, 22 Mar 2010 16:24:08 +0100 Subject: [PATCH 07/12] Fix OpenSSL include issue on Windows OpenSSL's Windows headers apparently require windows.h to be included before including them. Yikes. --- wocky/wocky-openssl.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/wocky/wocky-openssl.c b/wocky/wocky-openssl.c index 0cd02be..4425b68 100644 --- a/wocky/wocky-openssl.c +++ b/wocky/wocky-openssl.c @@ -39,6 +39,11 @@ #include "wocky-tls.h" +/* Apparently an implicit requirement of OpenSSL's headers... */ +#ifdef G_OS_WIN32 +#include +#endif + #include #include -- 1.6.4.msysgit.0