summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-04-09 03:09:47 +0300
committerAndrei Karas <akaras@inbox.ru>2017-04-09 03:09:47 +0300
commit1a948c14e6057ff846ce0adfc2f6fe76d29f50a9 (patch)
tree34f7d29d20635ef4dace4946e4b014e4947fef1e
parenta57afc7e7bff5a166ec5f145fd3a3a54be7db0ae (diff)
downloadmanaplus-1a948c14e6057ff846ce0adfc2f6fe76d29f50a9.tar.gz
manaplus-1a948c14e6057ff846ce0adfc2f6fe76d29f50a9.tar.bz2
manaplus-1a948c14e6057ff846ce0adfc2f6fe76d29f50a9.tar.xz
manaplus-1a948c14e6057ff846ce0adfc2f6fe76d29f50a9.zip
Fix compilation errors.
-rw-r--r--src/resources/resourcemanager/resourcemanager.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/resources/resourcemanager/resourcemanager.cpp b/src/resources/resourcemanager/resourcemanager.cpp
index 1897e7572..a3f049bcd 100644
--- a/src/resources/resourcemanager/resourcemanager.cpp
+++ b/src/resources/resourcemanager/resourcemanager.cpp
@@ -36,6 +36,10 @@
#include "utils/checkutils.h"
+#if !defined(DEBUG_DUMP_LEAKS) && !defined(UNITTESTS)
+#include "resources/resourcetypes.h"
+#endif // defined(DEBUG_DUMP_LEAKS) || defined(UNITTESTS)
+
#ifndef USE_OPENGL
#include <SDL_image.h>
#endif // USE_OPENGL