summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/resources/resourcemanager/resourcemanager.cpp1
-rw-r--r--src/resources/resourcemanager/resourcemanager.h3
2 files changed, 3 insertions, 1 deletions
diff --git a/src/resources/resourcemanager/resourcemanager.cpp b/src/resources/resourcemanager/resourcemanager.cpp
index 5ddf08c97..1897e7572 100644
--- a/src/resources/resourcemanager/resourcemanager.cpp
+++ b/src/resources/resourcemanager/resourcemanager.cpp
@@ -35,7 +35,6 @@
#include "resources/sprite/spritedef.h"
#include "utils/checkutils.h"
-#include "utils/delete2.h"
#ifndef USE_OPENGL
#include <SDL_image.h>
diff --git a/src/resources/resourcemanager/resourcemanager.h b/src/resources/resourcemanager/resourcemanager.h
index 553967a7e..128de487b 100644
--- a/src/resources/resourcemanager/resourcemanager.h
+++ b/src/resources/resourcemanager/resourcemanager.h
@@ -24,9 +24,12 @@
#define RESOURCES_RESOURCEMANAGER_RESOURCEMANAGER_H
#include "resources/resourcefunctiontypes.h"
+
+#if defined(DEBUG_DUMP_LEAKS) || defined(UNITTESTS)
#include "resources/resourcetypes.h"
#include <set>
+#endif // defined(DEBUG_DUMP_LEAKS) || defined(UNITTESTS)
#include "localconsts.h"