aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--backends/platform/sdl/sdl.cpp1
-rw-r--r--base/main.cpp1
-rw-r--r--base/plugins.cpp1
-rw-r--r--common/file.cpp1
-rw-r--r--common/mutex.cpp1
-rw-r--r--common/rect.h1
-rw-r--r--common/unarj.cpp1
-rw-r--r--common/util.h1
-rw-r--r--common/xmlparser.h1
-rw-r--r--engines/advancedDetector.cpp4
-rw-r--r--engines/agi/wagparser.cpp1
-rw-r--r--engines/agos/midiparser_s1d.cpp3
-rw-r--r--engines/cine/msg.cpp2
-rw-r--r--engines/cine/part.cpp1
-rw-r--r--engines/cine/saveload.cpp1
-rw-r--r--engines/queen/bankman.cpp3
-rw-r--r--engines/queen/grid.cpp2
-rw-r--r--engines/queen/resource.cpp2
-rw-r--r--engines/scumm/file_nes.cpp1
-rw-r--r--engines/sword1/debug.cpp2
-rw-r--r--engines/sword1/router.cpp2
-rw-r--r--graphics/video/dxa_player.cpp1
-rw-r--r--graphics/video/video_player.cpp1
-rw-r--r--gui/debugger.cpp1
-rw-r--r--sound/audiostream.cpp1
-rw-r--r--sound/flac.cpp1
-rw-r--r--sound/mods/rjp1.cpp1
-rw-r--r--sound/mp3.cpp1
-rw-r--r--sound/musicplugin.h1
-rw-r--r--sound/softsynth/adlib.cpp1
-rw-r--r--sound/softsynth/mt32.cpp1
-rw-r--r--sound/voc.cpp1
-rw-r--r--sound/vorbis.cpp1
-rw-r--r--sound/wave.cpp1
34 files changed, 37 insertions, 9 deletions
diff --git a/backends/platform/sdl/sdl.cpp b/backends/platform/sdl/sdl.cpp
index 5af8d58872..8b095dbc12 100644
--- a/backends/platform/sdl/sdl.cpp
+++ b/backends/platform/sdl/sdl.cpp
@@ -32,6 +32,7 @@
#include "backends/platform/sdl/sdl.h"
#include "common/archive.h"
#include "common/config-manager.h"
+#include "common/debug.h"
#include "common/events.h"
#include "common/util.h"
diff --git a/base/main.cpp b/base/main.cpp
index d75d5a893b..bbc827a94d 100644
--- a/base/main.cpp
+++ b/base/main.cpp
@@ -39,6 +39,7 @@
#include "common/archive.h"
#include "common/config-manager.h"
+#include "common/debug.h"
#include "common/events.h"
#include "common/file.h"
#include "common/fs.h"
diff --git a/base/plugins.cpp b/base/plugins.cpp
index a751afc1b4..2efab3fba4 100644
--- a/base/plugins.cpp
+++ b/base/plugins.cpp
@@ -26,6 +26,7 @@
#include "base/plugins.h"
#include "common/func.h"
+#include "common/debug.h"
#ifdef DYNAMIC_MODULES
#include "common/config-manager.h"
diff --git a/common/file.cpp b/common/file.cpp
index 0cec608d89..69f4a4a31b 100644
--- a/common/file.cpp
+++ b/common/file.cpp
@@ -24,6 +24,7 @@
*/
#include "common/archive.h"
+#include "common/debug.h"
#include "common/file.h"
#include "common/fs.h"
#include "common/util.h"
diff --git a/common/mutex.cpp b/common/mutex.cpp
index 6205de405b..8ebfa2254b 100644
--- a/common/mutex.cpp
+++ b/common/mutex.cpp
@@ -23,6 +23,7 @@
*
*/
+#include "common/debug.h"
#include "common/mutex.h"
#include "common/system.h"
diff --git a/common/rect.h b/common/rect.h
index f17db1ca6c..5d91fe496d 100644
--- a/common/rect.h
+++ b/common/rect.h
@@ -28,6 +28,7 @@
#include "common/scummsys.h"
#include "common/util.h"
+#include "common/debug.h"
namespace Common {
diff --git a/common/unarj.cpp b/common/unarj.cpp
index 4a969a6ef0..428b4a426e 100644
--- a/common/unarj.cpp
+++ b/common/unarj.cpp
@@ -29,6 +29,7 @@
#include "common/scummsys.h"
#include "common/archive.h"
+#include "common/debug.h"
#include "common/util.h"
#include "common/unarj.h"
diff --git a/common/util.h b/common/util.h
index 65d288d6f0..2cb9b8a722 100644
--- a/common/util.h
+++ b/common/util.h
@@ -27,7 +27,6 @@
#include "common/scummsys.h"
#include "common/str.h"
-#include "common/debug.h"
#ifdef MIN
#undef MIN
diff --git a/common/xmlparser.h b/common/xmlparser.h
index 08f4565b11..c3eb68ca78 100644
--- a/common/xmlparser.h
+++ b/common/xmlparser.h
@@ -29,6 +29,7 @@
#include "common/scummsys.h"
#include "common/stream.h"
+#include "common/list.h"
#include "common/hashmap.h"
#include "common/hash-str.h"
#include "common/stack.h"
diff --git a/engines/advancedDetector.cpp b/engines/advancedDetector.cpp
index e2886074a7..3f7928c403 100644
--- a/engines/advancedDetector.cpp
+++ b/engines/advancedDetector.cpp
@@ -25,13 +25,15 @@
#include "base/plugins.h"
+#include "common/debug.h"
#include "common/util.h"
#include "common/hash-str.h"
#include "common/file.h"
#include "common/md5.h"
-#include "engines/advancedDetector.h"
#include "common/config-manager.h"
+#include "engines/advancedDetector.h"
+
/**
* A list of pointers to ADGameDescription structs (or subclasses thereof).
*/
diff --git a/engines/agi/wagparser.cpp b/engines/agi/wagparser.cpp
index 5ada824f3b..e6ed5345e0 100644
--- a/engines/agi/wagparser.cpp
+++ b/engines/agi/wagparser.cpp
@@ -26,6 +26,7 @@
#include "common/file.h"
#include "common/util.h"
#include "common/fs.h"
+#include "common/debug.h"
#include "agi/wagparser.h"
diff --git a/engines/agos/midiparser_s1d.cpp b/engines/agos/midiparser_s1d.cpp
index 433056e59d..d77621cc7b 100644
--- a/engines/agos/midiparser_s1d.cpp
+++ b/engines/agos/midiparser_s1d.cpp
@@ -23,8 +23,7 @@
*
*/
-
-
+#include "common/debug.h"
#include "common/util.h"
#include "sound/mididrv.h"
diff --git a/engines/cine/msg.cpp b/engines/cine/msg.cpp
index 08b16524fd..a7cccf03c7 100644
--- a/engines/cine/msg.cpp
+++ b/engines/cine/msg.cpp
@@ -23,7 +23,7 @@
*
*/
-
+#include "common/debug.h"
#include "common/endian.h"
#include "cine/msg.h"
diff --git a/engines/cine/part.cpp b/engines/cine/part.cpp
index 2cf9a52569..b1218ce676 100644
--- a/engines/cine/part.cpp
+++ b/engines/cine/part.cpp
@@ -23,6 +23,7 @@
*
*/
+#include "common/debug.h"
#include "common/endian.h"
#include "cine/cine.h"
diff --git a/engines/cine/saveload.cpp b/engines/cine/saveload.cpp
index 2917ad6d1b..4a6ea321c8 100644
--- a/engines/cine/saveload.cpp
+++ b/engines/cine/saveload.cpp
@@ -23,6 +23,7 @@
*
*/
+#include "common/debug.h"
#include "common/savefile.h"
#include "cine/cine.h"
diff --git a/engines/queen/bankman.cpp b/engines/queen/bankman.cpp
index a5b98eb35f..69329efa51 100644
--- a/engines/queen/bankman.cpp
+++ b/engines/queen/bankman.cpp
@@ -25,9 +25,10 @@
#include "queen/bankman.h"
-
#include "queen/resource.h"
+#include "common/debug.h"
+
namespace Queen {
BankManager::BankManager(Resource *res)
diff --git a/engines/queen/grid.cpp b/engines/queen/grid.cpp
index b1191c3bde..306b32bc8b 100644
--- a/engines/queen/grid.cpp
+++ b/engines/queen/grid.cpp
@@ -30,6 +30,8 @@
#include "queen/logic.h"
#include "queen/queen.h"
+#include "common/debug.h"
+
namespace Queen {
Grid::Grid(QueenEngine *vm)
diff --git a/engines/queen/resource.cpp b/engines/queen/resource.cpp
index 7c15d7884a..9fa62eee27 100644
--- a/engines/queen/resource.cpp
+++ b/engines/queen/resource.cpp
@@ -23,7 +23,7 @@
*
*/
-
+#include "common/debug.h"
#include "common/endian.h"
#include "common/config-manager.h"
#include "queen/resource.h"
diff --git a/engines/scumm/file_nes.cpp b/engines/scumm/file_nes.cpp
index 306b6610d2..bfd9f3f6cd 100644
--- a/engines/scumm/file_nes.cpp
+++ b/engines/scumm/file_nes.cpp
@@ -24,6 +24,7 @@
*/
#include "scumm/file_nes.h"
+#include "common/debug.h"
#include "common/endian.h"
#include "common/md5.h"
diff --git a/engines/sword1/debug.cpp b/engines/sword1/debug.cpp
index fd8c411504..39f280748c 100644
--- a/engines/sword1/debug.cpp
+++ b/engines/sword1/debug.cpp
@@ -23,7 +23,7 @@
*
*/
-
+#include "common/debug.h"
#include "common/util.h"
#include "sword1/debug.h"
diff --git a/engines/sword1/router.cpp b/engines/sword1/router.cpp
index d5620073a5..a0a990045c 100644
--- a/engines/sword1/router.cpp
+++ b/engines/sword1/router.cpp
@@ -23,7 +23,7 @@
*
*/
-
+#include "common/debug.h"
#include "common/util.h"
#include "sword1/router.h"
diff --git a/graphics/video/dxa_player.cpp b/graphics/video/dxa_player.cpp
index 78c2b75fed..d91e902408 100644
--- a/graphics/video/dxa_player.cpp
+++ b/graphics/video/dxa_player.cpp
@@ -23,6 +23,7 @@
*
*/
+#include "common/debug.h"
#include "common/endian.h"
#include "common/archive.h"
#include "common/system.h"
diff --git a/graphics/video/video_player.cpp b/graphics/video/video_player.cpp
index e11c3c5c31..1b483a7c34 100644
--- a/graphics/video/video_player.cpp
+++ b/graphics/video/video_player.cpp
@@ -24,6 +24,7 @@
*/
#include "common/archive.h"
+#include "common/debug.h"
#include "common/events.h"
#include "common/system.h"
#include "common/util.h"
diff --git a/gui/debugger.cpp b/gui/debugger.cpp
index 7ad468b477..637443836b 100644
--- a/gui/debugger.cpp
+++ b/gui/debugger.cpp
@@ -23,6 +23,7 @@
*
*/
+#include "common/debug.h"
#include "common/system.h"
#include "gui/debugger.h"
diff --git a/sound/audiostream.cpp b/sound/audiostream.cpp
index 6334d26e47..13ae4eedb4 100644
--- a/sound/audiostream.cpp
+++ b/sound/audiostream.cpp
@@ -23,6 +23,7 @@
*
*/
+#include "common/debug.h"
#include "common/endian.h"
#include "common/file.h"
#include "common/list.h"
diff --git a/sound/flac.cpp b/sound/flac.cpp
index 7b46f0660f..5b6a04b726 100644
--- a/sound/flac.cpp
+++ b/sound/flac.cpp
@@ -27,6 +27,7 @@
#ifdef USE_FLAC
+#include "common/debug.h"
#include "common/stream.h"
#include "common/util.h"
diff --git a/sound/mods/rjp1.cpp b/sound/mods/rjp1.cpp
index 0eb6b0d16b..fc1b49e9e9 100644
--- a/sound/mods/rjp1.cpp
+++ b/sound/mods/rjp1.cpp
@@ -23,6 +23,7 @@
*
*/
+#include "common/debug.h"
#include "common/endian.h"
#include "sound/mods/paula.h"
diff --git a/sound/mp3.cpp b/sound/mp3.cpp
index ba21436de4..c9cc5d33e7 100644
--- a/sound/mp3.cpp
+++ b/sound/mp3.cpp
@@ -27,6 +27,7 @@
#ifdef USE_MAD
+#include "common/debug.h"
#include "common/stream.h"
#include "common/util.h"
diff --git a/sound/musicplugin.h b/sound/musicplugin.h
index cd49942b83..cc0d2ec7a8 100644
--- a/sound/musicplugin.h
+++ b/sound/musicplugin.h
@@ -27,6 +27,7 @@
#include "base/plugins.h"
#include "sound/mididrv.h"
+#include "common/list.h"
/**
* Music types that music drivers can implement and engines can rely on.
diff --git a/sound/softsynth/adlib.cpp b/sound/softsynth/adlib.cpp
index af6c9d488c..c641992e5e 100644
--- a/sound/softsynth/adlib.cpp
+++ b/sound/softsynth/adlib.cpp
@@ -23,6 +23,7 @@
*/
#include "sound/softsynth/emumidi.h"
+#include "common/debug.h"
#include "common/util.h"
#include "sound/fmopl.h"
#include "sound/musicplugin.h"
diff --git a/sound/softsynth/mt32.cpp b/sound/softsynth/mt32.cpp
index 1987fee839..c64a5b6df9 100644
--- a/sound/softsynth/mt32.cpp
+++ b/sound/softsynth/mt32.cpp
@@ -33,6 +33,7 @@
#include "sound/mpu401.h"
#include "common/config-manager.h"
+#include "common/debug.h"
#include "common/events.h"
#include "common/file.h"
#include "common/system.h"
diff --git a/sound/voc.cpp b/sound/voc.cpp
index ce659460f0..e0088ae0a8 100644
--- a/sound/voc.cpp
+++ b/sound/voc.cpp
@@ -23,6 +23,7 @@
*
*/
+#include "common/debug.h"
#include "common/endian.h"
#include "common/util.h"
#include "common/stream.h"
diff --git a/sound/vorbis.cpp b/sound/vorbis.cpp
index da29b1b454..9658f8f257 100644
--- a/sound/vorbis.cpp
+++ b/sound/vorbis.cpp
@@ -27,6 +27,7 @@
#ifdef USE_VORBIS
+#include "common/debug.h"
#include "common/stream.h"
#include "common/util.h"
diff --git a/sound/wave.cpp b/sound/wave.cpp
index 83cc23c35a..af7405418e 100644
--- a/sound/wave.cpp
+++ b/sound/wave.cpp
@@ -23,6 +23,7 @@
*
*/
+#include "common/debug.h"
#include "common/util.h"
#include "common/stream.h"