aboutsummaryrefslogtreecommitdiffstats
path: root/src/audioOutputs/audioOutput_ao.c
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2005-01-16 16:03:14 +0000
committerWarren Dukes <warren.dukes@gmail.com>2005-01-16 16:03:14 +0000
commit9999a20c12f37fa853f4df8eab279d3d4c58f97d (patch)
treed0efa2632b7c63b8d377b8050f6b6233de717756 /src/audioOutputs/audioOutput_ao.c
parent9a18f61d4891841b601bc46d2a8e03a61b6f2184 (diff)
downloadmpd-9999a20c12f37fa853f4df8eab279d3d4c58f97d.tar.gz
mpd-9999a20c12f37fa853f4df8eab279d3d4c58f97d.tar.xz
mpd-9999a20c12f37fa853f4df8eab279d3d4c58f97d.zip
this should fix compile bugs #350 and #351
git-svn-id: https://svn.musicpd.org/mpd/trunk@2884 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/audioOutputs/audioOutput_ao.c')
-rw-r--r--src/audioOutputs/audioOutput_ao.c20
1 files changed, 20 insertions, 0 deletions
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 <stdio.h>
+
+AudioOutputPlugin aoPlugin =
+{
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL
+};
+
+#endif