From 98007640266ea1810f36307da64f3d355a2a49f4 Mon Sep 17 00:00:00 2001 From: David Henningsson Date: Mon, 30 Jul 2012 21:58:35 +0000 Subject: [PATCH] Fix build with some OSSv4 variant Reported by S Christian Collins. --- fluidsynth/src/drivers/fluid_oss.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fluidsynth/src/drivers/fluid_oss.c b/fluidsynth/src/drivers/fluid_oss.c index 40761dbd..840dad19 100644 --- a/fluidsynth/src/drivers/fluid_oss.c +++ b/fluidsynth/src/drivers/fluid_oss.c @@ -45,7 +45,7 @@ #define BUFFER_LENGTH 512 // Build issue on some systems (OSS 4.0)? -#ifndef SOUND_PCM_WRITE_CHANNELS +#ifdef SNDCTL_DSP_CHANNELS #define SOUND_PCM_WRITE_CHANNELS SNDCTL_DSP_CHANNELS #endif