aboutsummaryrefslogtreecommitdiffstats
path: root/src/audioOutputs
diff options
context:
space:
mode:
Diffstat (limited to '')
-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