diff options
author | Filippos Karapetis | 2009-02-22 00:38:39 +0000 |
---|---|---|
committer | Filippos Karapetis | 2009-02-22 00:38:39 +0000 |
commit | a46a2d9c92aaf82c3e5c099f9353c6014fc041df (patch) | |
tree | ff76c7512492e1d39b161dfbe4a0d097e3c2045c | |
parent | c0e132a826a0deaa8390675ffb20d7388bd24ee9 (diff) | |
download | scummvm-rg350-a46a2d9c92aaf82c3e5c099f9353c6014fc041df.tar.gz scummvm-rg350-a46a2d9c92aaf82c3e5c099f9353c6014fc041df.tar.bz2 scummvm-rg350-a46a2d9c92aaf82c3e5c099f9353c6014fc041df.zip |
Fixed compilation under Windows
svn-id: r38770
-rw-r--r-- | engines/sci/engine/kfile.cpp | 1 | ||||
-rw-r--r-- | engines/sci/sci.cpp | 4 | ||||
-rw-r--r-- | engines/sci/tools.cpp | 1 |
3 files changed, 6 insertions, 0 deletions
diff --git a/engines/sci/engine/kfile.cpp b/engines/sci/engine/kfile.cpp index 16daa38f84..33461cb6a4 100644 --- a/engines/sci/engine/kfile.cpp +++ b/engines/sci/engine/kfile.cpp @@ -24,6 +24,7 @@ */ #ifdef WIN32 +# include <direct.h> # include <windows.h> #elif defined (__DC__) # include <dc.h> diff --git a/engines/sci/sci.cpp b/engines/sci/sci.cpp index fc262334c1..3a27389e85 100644 --- a/engines/sci/sci.cpp +++ b/engines/sci/sci.cpp @@ -32,6 +32,10 @@ #include "sci/console.h" #include "sci/include/engine.h" +#ifdef WIN32 +# include <direct.h> +#endif + namespace Sci { extern gfx_driver_t gfx_driver_scummvm; diff --git a/engines/sci/tools.cpp b/engines/sci/tools.cpp index 95558afdb8..7183dab841 100644 --- a/engines/sci/tools.cpp +++ b/engines/sci/tools.cpp @@ -32,6 +32,7 @@ # include <sys/timeb.h> # include <sys/types.h> # include <sys/stat.h> +# include <direct.h> # undef ARRAYSIZE #endif |