aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/include
diff options
context:
space:
mode:
authorPaweł Kołodziejski2009-02-15 20:02:43 +0000
committerPaweł Kołodziejski2009-02-15 20:02:43 +0000
commit7d0d96ecc1ff743bdb9828e1da52d20d67eabc72 (patch)
tree92553caaa214b48654193007b227c46e08fcced8 /engines/sci/include
parentd7dea4ff17cd5ee6737cbe50e5d47c13e946f86c (diff)
downloadscummvm-rg350-7d0d96ecc1ff743bdb9828e1da52d20d67eabc72.tar.gz
scummvm-rg350-7d0d96ecc1ff743bdb9828e1da52d20d67eabc72.tar.bz2
scummvm-rg350-7d0d96ecc1ff743bdb9828e1da52d20d67eabc72.zip
fixed compilation with msvc
svn-id: r38285
Diffstat (limited to 'engines/sci/include')
-rw-r--r--engines/sci/include/resource.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/sci/include/resource.h b/engines/sci/include/resource.h
index 42a7c6ceeb..cb6bc537ff 100644
--- a/engines/sci/include/resource.h
+++ b/engines/sci/include/resource.h
@@ -102,10 +102,12 @@
#include "sci/include/scitypes.h"
// FIXME: Mostly for close() in lots of places. Get rid of this!
+#ifndef _MSC_VER
#include <unistd.h>
+#endif
#ifdef _MSC_VER
-# include <sys/timeb.h>
+//# include <sys/timeb.h>
# include <fcntl.h>
# include <windows.h>
# undef strcasecmp