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
This commit is contained in:
Max Horn 2007-12-20 14:29:58 +00:00
parent 93ccd61b7e
commit 6d37f5ccd8
5 changed files with 8 additions and 1 deletions

View file

@ -114,7 +114,6 @@
#include <stdarg.h>
#include <assert.h>
#include <ctype.h>
#include <time.h>
#include <math.h>
#endif

View file

@ -38,6 +38,8 @@
#include "sound/mididrv.h"
#include "sound/mods/protracker.h"
#include <time.h> // for AGOSEngine::getTime()
using Common::File;
namespace AGOS {

View file

@ -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) {

View file

@ -46,6 +46,8 @@
#include "sound/audiocd.h"
#include "sound/mixer.h"
#include <time.h> // for ScummEngine::saveInfos / ScummEngine::loadInfos
namespace Scumm {
struct SaveGameHeader {

View file

@ -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)