diff options
author | Johannes Schickel | 2009-08-17 07:36:08 +0000 |
---|---|---|
committer | Johannes Schickel | 2009-08-17 07:36:08 +0000 |
commit | 71c9700420237834d2e02a29eb6c0d0508a463b7 (patch) | |
tree | 53e0107f45fb8ae01093f5636a16ace501223798 /engines/sci/gfx | |
parent | c38f58598bfc35aa6c1a413e6f1369d5f09ca819 (diff) | |
download | scummvm-rg350-71c9700420237834d2e02a29eb6c0d0508a463b7.tar.gz scummvm-rg350-71c9700420237834d2e02a29eb6c0d0508a463b7.tar.bz2 scummvm-rg350-71c9700420237834d2e02a29eb6c0d0508a463b7.zip |
Fix compilation of the SCI engine. It seems that all of the SCI header files I touched (and probably others I luckily didn't touch) seem to assume that files including them will supply needed types. That looks like a major issue in SCI. Someone with knowledge of the SCI code should look into this and cleanup the includes of *all* SCI headers.
svn-id: r43459
Diffstat (limited to 'engines/sci/gfx')
-rw-r--r-- | engines/sci/gfx/gfx_state_internal.h | 1 | ||||
-rw-r--r-- | engines/sci/gfx/gfx_widgets.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/engines/sci/gfx/gfx_state_internal.h b/engines/sci/gfx/gfx_state_internal.h index 3beb0ea067..1bff83e713 100644 --- a/engines/sci/gfx/gfx_state_internal.h +++ b/engines/sci/gfx/gfx_state_internal.h @@ -26,6 +26,7 @@ #ifndef SCI_GFX_GFX_STATE_INTERNAL_H #define SCI_GFX_GFX_STATE_INTERNAL_H +#include "sci/engine/vm.h" #include "sci/gfx/gfx_tools.h" #include "sci/gfx/gfx_options.h" #include "sci/gfx/operations.h" diff --git a/engines/sci/gfx/gfx_widgets.h b/engines/sci/gfx/gfx_widgets.h index 80129152cb..ace13ff1b9 100644 --- a/engines/sci/gfx/gfx_widgets.h +++ b/engines/sci/gfx/gfx_widgets.h @@ -29,6 +29,7 @@ #include "common/rect.h" +#include "sci/engine/vm.h" #include "sci/gfx/gfx_system.h" #include "sci/gfx/operations.h" |