summaryrefslogtreecommitdiff
path: root/src/resources/map
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-06-15 19:00:59 +0300
committerAndrei Karas <akaras@inbox.ru>2016-06-15 19:00:59 +0300
commit39e19833f3cdb67b53544f3a8787628e484a50ef (patch)
tree20758d2591927e2147d343cf44b8ef39cd8045c5 /src/resources/map
parent5273b0bc8dcc2adbf8557a4008c63e50955884fe (diff)
downloadmv-39e19833f3cdb67b53544f3a8787628e484a50ef.tar.gz
mv-39e19833f3cdb67b53544f3a8787628e484a50ef.tar.bz2
mv-39e19833f3cdb67b53544f3a8787628e484a50ef.tar.xz
mv-39e19833f3cdb67b53544f3a8787628e484a50ef.zip
Fix other include issues.
Diffstat (limited to 'src/resources/map')
-rw-r--r--src/resources/map/map.cpp2
-rw-r--r--src/resources/map/maplayer.cpp4
2 files changed, 2 insertions, 4 deletions
diff --git a/src/resources/map/map.cpp b/src/resources/map/map.cpp
index e86c0c2a4..e0454ea8c 100644
--- a/src/resources/map/map.cpp
+++ b/src/resources/map/map.cpp
@@ -69,7 +69,9 @@
#include <sys/stat.h>
+#ifdef ENABLE_PUGIXML
#include <climits>
+#endif // ENABLE_LIBXML
#include "debug.h"
diff --git a/src/resources/map/maplayer.cpp b/src/resources/map/maplayer.cpp
index ba8f49455..f71f1de48 100644
--- a/src/resources/map/maplayer.cpp
+++ b/src/resources/map/maplayer.cpp
@@ -24,10 +24,6 @@
#include "configuration.h"
-#ifndef USE_OPENGL
-#include "render/graphics.h"
-#endif
-
#include "being/localplayer.h"
#include "enums/resources/map/blockmask.h"