From 2c7bda8a3b179918321c19ecd3b8ad57cb64bf6f Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 22 Jun 2016 10:58:44 +0200 Subject: [PATCH] output/sndio: define SIO_DEVANY if it is undefined Fixes build failure on Debian Wheezy. --- src/output/plugins/SndioOutputPlugin.cxx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/output/plugins/SndioOutputPlugin.cxx b/src/output/plugins/SndioOutputPlugin.cxx index 3c05c80dc..ce8ef6126 100644 --- a/src/output/plugins/SndioOutputPlugin.cxx +++ b/src/output/plugins/SndioOutputPlugin.cxx @@ -32,6 +32,11 @@ #include "util/Domain.hxx" #include "Log.hxx" +#ifndef SIO_DEVANY +/* this macro is missing in libroar-dev 1.0~beta2-3 (Debian Wheezy) */ +#define SIO_DEVANY "default" +#endif + class SndioOutput { friend struct AudioOutputWrapper; AudioOutput base;