aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorMax Horn2007-12-20 14:29:58 +0000
committerMax Horn2007-12-20 14:29:58 +0000
commit6d37f5ccd8a2f5859ec69bd4924bc50eb4293464 (patch)
tree44bc0574c8a892d9497d52a27bb67dc156891657 /engines
parent93ccd61b7e94ff8c49946144814ec5c0322450b3 (diff)
downloadscummvm-rg350-6d37f5ccd8a2f5859ec69bd4924bc50eb4293464.tar.gz
scummvm-rg350-6d37f5ccd8a2f5859ec69bd4924bc50eb4293464.tar.bz2
scummvm-rg350-6d37f5ccd8a2f5859ec69bd4924bc50eb4293464.zip
Do not #include time.h globally (ideally, we should provide a localtime clone in OSystem so we can completly get rid of this)
svn-id: r29919
Diffstat (limited to 'engines')
-rw-r--r--engines/agos/agos.cpp2
-rw-r--r--engines/gob/inter.cpp2
-rw-r--r--engines/scumm/saveload.cpp2
-rw-r--r--engines/scumm/script_v6.cpp2
4 files changed, 8 insertions, 0 deletions
diff --git a/engines/agos/agos.cpp b/engines/agos/agos.cpp
index 04d64acc26..6ad0b2c3ee 100644
--- a/engines/agos/agos.cpp
+++ b/engines/agos/agos.cpp
@@ -38,6 +38,8 @@
#include "sound/mididrv.h"
#include "sound/mods/protracker.h"
+#include <time.h> // for AGOSEngine::getTime()
+
using Common::File;
namespace AGOS {
diff --git a/engines/gob/inter.cpp b/engines/gob/inter.cpp
index 0f76ff4bbc..3c0127fdbd 100644
--- a/engines/gob/inter.cpp
+++ b/engines/gob/inter.cpp
@@ -36,6 +36,8 @@
#include "gob/scenery.h"
#include "gob/sound.h"
+#include <time.h> // FIXME: for Inter::renewTimeInVars()
+
namespace Gob {
Inter::Inter(GobEngine *vm) : _vm(vm) {
diff --git a/engines/scumm/saveload.cpp b/engines/scumm/saveload.cpp
index 487ed45005..0e8206a09b 100644
--- a/engines/scumm/saveload.cpp
+++ b/engines/scumm/saveload.cpp
@@ -46,6 +46,8 @@
#include "sound/audiocd.h"
#include "sound/mixer.h"
+#include <time.h> // for ScummEngine::saveInfos / ScummEngine::loadInfos
+
namespace Scumm {
struct SaveGameHeader {
diff --git a/engines/scumm/script_v6.cpp b/engines/scumm/script_v6.cpp
index 85ace39498..8696b83fe2 100644
--- a/engines/scumm/script_v6.cpp
+++ b/engines/scumm/script_v6.cpp
@@ -45,6 +45,8 @@
#include "sound/mididrv.h"
#include "sound/mixer.h"
+#include <time.h> // for ScummEngine_v6::o6_getDateTime()
+
namespace Scumm {
#define OPCODE(x) _OPCODE(ScummEngine_v6, x)