aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
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)