From 2497269351b9ac46d4f0852f52244df7aa4d211b Mon Sep 17 00:00:00 2001 From: Stefan Dombrowski Date: Mon, 16 Aug 2010 18:00:44 +0200 Subject: Add missing include and add enet files to codeblocks The missing include generated compiler error on windows. Because of compiler warnings generated by enet, warnings are switched of for: * unknown #pragmas, which are for MSVC compiler * enumeration with missing case Reviewed-by: Bertram --- src/log.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src/log.cpp') diff --git a/src/log.cpp b/src/log.cpp index 435b2da0..5880e108 100644 --- a/src/log.cpp +++ b/src/log.cpp @@ -19,9 +19,6 @@ * along with this program. If not, see . */ -#include -#include - #include "log.h" #include "gui/widgets/chattab.h" @@ -30,11 +27,12 @@ #include #elif __APPLE__ #include -#elif __linux__ || __linux -#include #endif #include +#include +#include +#include Logger::Logger(): mLogToStandardOut(true), -- cgit v1.2.3-70-g09d2