From faa7b9bb4ca19f4cf07b1faacbe794af893a3e2d Mon Sep 17 00:00:00 2001 From: Neal Norwitz Date: Fri, 10 Jan 2003 21:27:54 +0000 Subject: Get build working on Redhat 7.2 linux 2.4.7 --- Modules/ossaudiodev.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Modules/ossaudiodev.c b/Modules/ossaudiodev.c index 9bfd55e..ccc7882 100644 --- a/Modules/ossaudiodev.c +++ b/Modules/ossaudiodev.c @@ -1016,7 +1016,9 @@ initossaudiodev(void) _EXPORT_INT(m, SNDCTL_DSP_GETODELAY); _EXPORT_INT(m, SNDCTL_DSP_GETOPTR); _EXPORT_INT(m, SNDCTL_DSP_GETOSPACE); +#ifdef SNDCTL_DSP_GETSPDIF _EXPORT_INT(m, SNDCTL_DSP_GETSPDIF); +#endif _EXPORT_INT(m, SNDCTL_DSP_GETTRIGGER); _EXPORT_INT(m, SNDCTL_DSP_MAPINBUF); _EXPORT_INT(m, SNDCTL_DSP_MAPOUTBUF); @@ -1028,7 +1030,9 @@ initossaudiodev(void) _EXPORT_INT(m, SNDCTL_DSP_SETDUPLEX); _EXPORT_INT(m, SNDCTL_DSP_SETFMT); _EXPORT_INT(m, SNDCTL_DSP_SETFRAGMENT); +#ifdef SNDCTL_DSP_SETSPDIF _EXPORT_INT(m, SNDCTL_DSP_SETSPDIF); +#endif _EXPORT_INT(m, SNDCTL_DSP_SETSYNCRO); _EXPORT_INT(m, SNDCTL_DSP_SETTRIGGER); _EXPORT_INT(m, SNDCTL_DSP_SPEED); -- cgit v0.12