Fix build with some OSSv4 variant

Reported by S Christian Collins.
This commit is contained in:
David Henningsson 2012-07-30 21:58:35 +00:00
parent e70f2a65ee
commit 9800764026

View file

@ -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