aboutsummaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorMax Horn2006-03-29 15:59:37 +0000
committerMax Horn2006-03-29 15:59:37 +0000
commit8cdee5a9310aecb0c8e39ceee4059b221d80ee0f (patch)
tree64716fc107097fd6cb82249f02de7642742e4e96 /sound
parent0da5fb4c1c14e5953b2df8e495681bb5f70dec60 (diff)
downloadscummvm-rg350-8cdee5a9310aecb0c8e39ceee4059b221d80ee0f.tar.gz
scummvm-rg350-8cdee5a9310aecb0c8e39ceee4059b221d80ee0f.tar.bz2
scummvm-rg350-8cdee5a9310aecb0c8e39ceee4059b221d80ee0f.zip
Do not #include endian.h in scummsys.h (cuts down deps on endian.h from ~400 to ~250). Many greetings to eriktorbjorn, and have fun recompiling.
svn-id: r21500
Diffstat (limited to 'sound')
-rw-r--r--sound/adpcm.cpp2
-rw-r--r--sound/audiostream.cpp2
-rw-r--r--sound/midiparser.h1
-rw-r--r--sound/voc.cpp1
4 files changed, 6 insertions, 0 deletions
diff --git a/sound/adpcm.cpp b/sound/adpcm.cpp
index b1270d9220..d523bf84bc 100644
--- a/sound/adpcm.cpp
+++ b/sound/adpcm.cpp
@@ -22,6 +22,8 @@
#include "common/stdafx.h"
+#include "common/endian.h"
+
#include "sound/adpcm.h"
#include "sound/audiostream.h"
diff --git a/sound/audiostream.cpp b/sound/audiostream.cpp
index 26e2de48b4..2af01f66e6 100644
--- a/sound/audiostream.cpp
+++ b/sound/audiostream.cpp
@@ -21,8 +21,10 @@
*/
#include "common/stdafx.h"
+#include "common/endian.h"
#include "common/file.h"
#include "common/util.h"
+
#include "sound/audiostream.h"
#include "sound/mixer.h"
#include "sound/mp3.h"
diff --git a/sound/midiparser.h b/sound/midiparser.h
index aefbb1900c..24ffd1b461 100644
--- a/sound/midiparser.h
+++ b/sound/midiparser.h
@@ -26,6 +26,7 @@
#define INCLUDED_MIDIPARSER
#include "common/scummsys.h"
+#include "common/endian.h"
class MidiParser;
class MidiDriver;
diff --git a/sound/voc.cpp b/sound/voc.cpp
index 051a3ee429..86abca3ce2 100644
--- a/sound/voc.cpp
+++ b/sound/voc.cpp
@@ -22,6 +22,7 @@
*/
#include "common/stdafx.h"
+#include "common/endian.h"
#include "common/util.h"
#include "common/stream.h"