diff --git a/fluidsynth/src/drivers/fluid_oss.c b/fluidsynth/src/drivers/fluid_oss.c index 39c2ee37..a799c397 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)? -#ifdef SNDCTL_DSP_CHANNELS +#if !defined(SOUND_PCM_WRITE_CHANNELS) && defined(SNDCTL_DSP_CHANNELS) #define SOUND_PCM_WRITE_CHANNELS SNDCTL_DSP_CHANNELS #endif