diff options
Diffstat (limited to 'backends/plugins/elf/memory-manager.cpp')
-rw-r--r-- | backends/plugins/elf/memory-manager.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/backends/plugins/elf/memory-manager.cpp b/backends/plugins/elf/memory-manager.cpp index 6e573088e2..7c6cdd328d 100644 --- a/backends/plugins/elf/memory-manager.cpp +++ b/backends/plugins/elf/memory-manager.cpp @@ -24,8 +24,11 @@ */ #include "common/scummsys.h" -#include "common/util.h" + +#if defined(DYNAMIC_MODULES) && defined(USE_ELF_LOADER) + #include "backends/plugins/elf/memory-manager.h" +#include "common/util.h" DECLARE_SINGLETON(ELFMemoryManager); @@ -166,3 +169,6 @@ void ELFMemoryManager::deallocateFromHeap(void *ptr) { } } } + +#endif /* defined(DYNAMIC_MODULES) && defined(USE_ELF_LOADER) */ + |