aboutsummaryrefslogtreecommitdiffstats
path: root/src/audioOutput_shout.c
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-10-20 23:08:40 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-10-20 23:08:40 +0000
commit8502eeee6ed0fd620397c5b87d9862e256811712 (patch)
tree8a8b2b268403395bd2c06cd16d8a3880ac67175a /src/audioOutput_shout.c
parent41e81dbca01254c15ad5352e99eda4dbc67714e5 (diff)
downloadmpd-8502eeee6ed0fd620397c5b87d9862e256811712.tar.gz
mpd-8502eeee6ed0fd620397c5b87d9862e256811712.tar.xz
mpd-8502eeee6ed0fd620397c5b87d9862e256811712.zip
check HAVE_SHOUT
git-svn-id: https://svn.musicpd.org/mpd/trunk@2287 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/audioOutput_shout.c')
-rw-r--r--src/audioOutput_shout.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/audioOutput_shout.c b/src/audioOutput_shout.c
index d1f217151..038e96a98 100644
--- a/src/audioOutput_shout.c
+++ b/src/audioOutput_shout.c
@@ -16,6 +16,10 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
+#include "../config.h"
+
+#ifdef HAVE_SHOUT
+
#include "audioOutput.h"
#include "conf.h"
#include "log.h"
@@ -189,3 +193,19 @@ AudioOutputPlugin shoutPlugin =
shout_play,
shout_closeDevice
};
+
+#else
+
+#include <stdlib.h>
+
+AudioOutputPlugin shoutPlugin =
+{
+ "shout",
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL
+};
+
+#endif