From 9999a20c12f37fa853f4df8eab279d3d4c58f97d Mon Sep 17 00:00:00 2001 From: Warren Dukes Date: Sun, 16 Jan 2005 16:03:14 +0000 Subject: this should fix compile bugs #350 and #351 git-svn-id: https://svn.musicpd.org/mpd/trunk@2884 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- src/audioOutputs/audioOutput_ao.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'src') diff --git a/src/audioOutputs/audioOutput_ao.c b/src/audioOutputs/audioOutput_ao.c index db9c6d50c..ee3457197 100644 --- a/src/audioOutputs/audioOutput_ao.c +++ b/src/audioOutputs/audioOutput_ao.c @@ -17,6 +17,9 @@ */ #include "../audioOutput.h" + +#ifdef HAVE_AO + #include "../conf.h" #include "../log.h" @@ -237,3 +240,20 @@ AudioOutputPlugin aoPlugin = audioOutputAo_closeDevice, NULL /* sendMetadataFunc */ }; + +#else + +#include + +AudioOutputPlugin aoPlugin = +{ + NULL, + NULL, + NULL, + NULL, + NULL, + NULL, + NULL +}; + +#endif -- cgit v1.2.3