aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sci')
-rw-r--r--engines/sci/engine/seg_manager.cpp1
-rw-r--r--engines/sci/engine/seg_manager.h4
-rw-r--r--engines/sci/engine/vm.h (renamed from engines/sci/include/vm.h)2
3 files changed, 6 insertions, 1 deletions
diff --git a/engines/sci/engine/seg_manager.cpp b/engines/sci/engine/seg_manager.cpp
index 093542d8a1..5f662d5c6e 100644
--- a/engines/sci/engine/seg_manager.cpp
+++ b/engines/sci/engine/seg_manager.cpp
@@ -25,6 +25,7 @@
#include "sci/engine/seg_manager.h"
#include "sci/include/engine.h"
+#include "sci/engine/intmap.h"
namespace Sci {
diff --git a/engines/sci/engine/seg_manager.h b/engines/sci/engine/seg_manager.h
index a545fcd6f8..56b6f550cb 100644
--- a/engines/sci/engine/seg_manager.h
+++ b/engines/sci/engine/seg_manager.h
@@ -27,10 +27,12 @@
#define _SCI_SEG_MANAGER_H
#include "sci/engine/intmap.h"
-#include "sci/include/vm.h"
+#include "sci/engine/vm.h"
namespace Sci {
+class IntMapper; // from intmap.h
+
// SCRIPT_ID must be 0
enum idFlag {
SCRIPT_ID,
diff --git a/engines/sci/include/vm.h b/engines/sci/engine/vm.h
index d89b868e5a..d64b6e67e3 100644
--- a/engines/sci/include/vm.h
+++ b/engines/sci/engine/vm.h
@@ -37,6 +37,8 @@
namespace Sci {
+class IntMapper; // from intmap.h
+
#define VM_STACK_SIZE 0x1000
/* Number of bytes to be allocated for the stack */