From 491695e60e95668e8170e290388f976190859314 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 5 Oct 2017 23:28:34 +0300 Subject: remove extra includes if build without tmwa support. --- src/progs/manaplus/actions/actions.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/progs/manaplus/actions/actions.cpp') diff --git a/src/progs/manaplus/actions/actions.cpp b/src/progs/manaplus/actions/actions.cpp index 0827418c7..aa30257b7 100644 --- a/src/progs/manaplus/actions/actions.cpp +++ b/src/progs/manaplus/actions/actions.cpp @@ -91,7 +91,6 @@ #include "net/mercenaryhandler.h" #include "net/net.h" #include "net/npchandler.h" -#include "net/playerhandler.h" #include "net/serverfeatures.h" #include "net/uploadcharinfo.h" #include "net/tradehandler.h" @@ -106,10 +105,15 @@ #include "utils/delete2.h" #include "utils/foreach.h" #include "utils/gettext.h" -#include "utils/mathutils.h" #include "utils/parameters.h" #include "utils/timer.h" +#ifdef TMWA_SUPPORT +#include "net/playerhandler.h" + +#include "utils/mathutils.h" +#endif // TMWA_SUPPORT + PRAGMA48(GCC diagnostic push) PRAGMA48(GCC diagnostic ignored "-Wshadow") #ifdef ANDROID -- cgit v1.2.3-70-g09d2