From 3ec764396a6fd08a007016e8e8068a737b4563dc Mon Sep 17 00:00:00 2001 From: Kai Philipp Date: Thu, 16 Jun 2016 18:05:02 +0200 Subject: [PATCH] ircthread.cpp - include fix from master implemented --- src/net/common/ircthread.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/net/common/ircthread.cpp b/src/net/common/ircthread.cpp index 5b8cad24..94730fba 100644 --- a/src/net/common/ircthread.cpp +++ b/src/net/common/ircthread.cpp @@ -32,14 +32,22 @@ #include #include #include +#ifdef _WIN32 #include +#else +#include +#endif // We need to do the following to handle different versions of libircclient. // Sadly, libircclient doesn't have actual definitions for its versions in its headers. // However, we can use a definition that appeared in the same version we need // to check for. Hacky, but hey, it works. #ifdef LIBIRC_OPTION_SSL_NO_VERIFY +#ifdef _WIN32 #include +#else +#include +#endif #endif #include