summaryrefslogtreecommitdiff
path: root/src/resources/map
diff options
context:
space:
mode:
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"