summaryrefslogtreecommitdiff
path: root/src/gui/windows
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-06-04 03:21:57 +0300
committerAndrei Karas <akaras@inbox.ru>2016-06-04 03:21:57 +0300
commit485ba81a87c50c23d1f97318e42f4937af1fda1f (patch)
treeb1b85f22e9bf2ea10e5fcddf3000506d207015fe /src/gui/windows
parent554210becbfc9de611699889a3fd0f53525a1b83 (diff)
downloadplus-485ba81a87c50c23d1f97318e42f4937af1fda1f.tar.gz
plus-485ba81a87c50c23d1f97318e42f4937af1fda1f.tar.bz2
plus-485ba81a87c50c23d1f97318e42f4937af1fda1f.tar.xz
plus-485ba81a87c50c23d1f97318e42f4937af1fda1f.zip
Remove some useless includes if using SDL2.
Diffstat (limited to 'src/gui/windows')
-rw-r--r--src/gui/windows/itemamountwindow.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/windows/itemamountwindow.cpp b/src/gui/windows/itemamountwindow.cpp
index 8f3dea0cd..b3fdf4a62 100644
--- a/src/gui/windows/itemamountwindow.cpp
+++ b/src/gui/windows/itemamountwindow.cpp
@@ -35,7 +35,7 @@
#include "gui/windows/maileditwindow.h"
#ifdef EATHENA_SUPPORT
#include "gui/windows/npcdialog.h"
-#endif
+#endif // EATHENA_SUPPORT
#include "gui/windows/shopwindow.h"
#include "gui/windows/tradewindow.h"
@@ -51,13 +51,15 @@
#include "net/inventoryhandler.h"
#ifdef EATHENA_SUPPORT
#include "net/npchandler.h"
-#endif
+#endif // EATHENA_SUPPORT
#include "resources/item/item.h"
#include "utils/gettext.h"
+#ifndef USE_SDL2
#include <cmath>
+#endif // USE_SDL2
#include "debug.h"