aboutsummaryrefslogtreecommitdiff
path: root/sound/shorten.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sound/shorten.cpp')
-rw-r--r--sound/shorten.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/sound/shorten.cpp b/sound/shorten.cpp
index b550a5afec..e8066a49be 100644
--- a/sound/shorten.cpp
+++ b/sound/shorten.cpp
@@ -23,6 +23,10 @@
*
*/
+#include "sound/shorten.h"
+
+#ifdef SOUND_SHORTEN_H
+
// Based on etree's Shorten tool, version 3.6.1
// http://etree.org/shnutils/shorten/
@@ -32,7 +36,6 @@
#include "common/util.h"
#include "common/stream.h"
-#include "sound/shorten.h"
#include "sound/audiostream.h"
#include "sound/mixer.h"
@@ -526,3 +529,6 @@ AudioStream *makeShortenStream(Common::SeekableReadStream &stream) {
}
} // End of namespace Audio
+
+#endif // defined(SOUND_SHORTEN_H)
+