Browse Source

--disable-mpg123 needs the header conditionally included, too

Bart van Strien 12 years ago
parent
commit
b6c8a48c25
1 changed files with 4 additions and 1 deletions
  1. 4 1
      src/modules/sound/lullaby/Sound.cpp

+ 4 - 1
src/modules/sound/lullaby/Sound.cpp

@@ -23,11 +23,14 @@
 #include "Sound.h"
 
 #include "ModPlugDecoder.h"
-#include "Mpg123Decoder.h"
 #include "VorbisDecoder.h"
 #include "GmeDecoder.h"
 //#include "FLACDecoder.h"
 
+#ifndef LOVE_NOMPG123
+#	include "Mpg123Decoder.h"
+#endif // LOVE_NOMPG123
+
 namespace love
 {
 namespace sound