aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/include/resource.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sci/include/resource.h')
-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