From 9e68cd3558033bbbd1504f4f862f8c1d6e984eee Mon Sep 17 00:00:00 2001 From: psychon Date: Sun, 21 Sep 2008 08:02:15 +0000 Subject: [PATCH] Fix compilation with gcc 4.3.1 is ssl is disabled The gcc devs cleaned up their includes again. Some openssl header pulled in the needed includes, too, but this obviously doesn't help if ssl is disabled. Thanks to sebastinas for reporting and to fred and the-me for testing. git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1212 726aef4b-f618-498e-8847-2d620e286838 --- Utils.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Utils.cpp b/Utils.cpp index f6429643..8cba0e52 100644 --- a/Utils.cpp +++ b/Utils.cpp @@ -17,6 +17,10 @@ #include #include +// Required with GCC 4.3+ if openssl is disabled +#include +#include + using std::stringstream; bool CUtils::stdoutIsTTY;