Fix compilation with sqlite (missing include header file).

This commit is contained in:
Stephen Anthony 2019-05-03 20:42:16 -02:30
parent 6da1968845
commit 0fa83b0fd0
2 changed files with 28 additions and 22 deletions

View File

@ -24,16 +24,22 @@
#include "MediaFactory.hxx"
#include "Sound.hxx"
#ifdef DEBUGGER_SUPPORT
#include "Debugger.hxx"
#endif
#ifdef CHEATCODE_SUPPORT
#include "CheatManager.hxx"
#endif
#ifdef DEBUGGER_SUPPORT
#include "Debugger.hxx"
#endif
#ifdef GUI_SUPPORT
#include "Menu.hxx"
#include "CommandMenu.hxx"
#include "Launcher.hxx"
#include "TimeMachine.hxx"
#include "Widget.hxx"
#endif
#ifdef SQLITE_SUPPORT
#include "KeyValueRepositorySqlite.hxx"
#include "SettingsDb.hxx"
#endif
#include "FSNode.hxx"
@ -59,14 +65,6 @@
#include "repository/KeyValueRepositoryNoop.hxx"
#include "repository/KeyValueRepositoryConfigfile.hxx"
#ifdef GUI_SUPPORT
#include "Menu.hxx"
#include "CommandMenu.hxx"
#include "Launcher.hxx"
#include "TimeMachine.hxx"
#include "Widget.hxx"
#endif
#include "OSystem.hxx"
using namespace std::chrono;

View File

@ -18,12 +18,7 @@
#ifndef OSYSTEM_HXX
#define OSYSTEM_HXX
class CommandMenu;
class Console;
class Debugger;
class Launcher;
class Menu;
class TimeMachine;
class FrameBuffer;
class EventHandler;
class Properties;
@ -32,15 +27,26 @@ class Random;
class Sound;
class StateManager;
class TimerManager;
class VideoDialog;
class EmulationWorker;
class AudioSettings;
class SettingsDb;
#ifdef CHEATCODE_SUPPORT
class CheatManager;
#endif
#ifdef DEBUGGER_SUPPORT
class Debugger;
#endif
#ifdef GUI_SUPPORT
class CommandMenu;
class Launcher;
class Menu;
class TimeMachine;
class VideoDialog;
#endif
#ifdef PNG_SUPPORT
class PNGLibrary;
#endif
#ifdef CHEATCODE_SUPPORT
class CheatManager;
#ifdef SQLITE_SUPPORT
class SettingsDb;
#endif
#include <chrono>
@ -63,9 +69,11 @@ class SettingsDb;
class OSystem
{
friend class EventHandler;
#ifdef GUI_SUPPORT
friend class VideoDialog;
friend class StellaSettingsDialog;
friend class DeveloperDialog;
#endif
public:
OSystem();