diff -ur stella-1.3/src/ui/sound/SoundALSA.cxx stella-1.3-fixed/src/ui/sound/SoundALSA.cxx --- stella-1.3/src/ui/sound/SoundALSA.cxx 2003-02-17 19:19:44.000000000 -0600 +++ stella-1.3-fixed/src/ui/sound/SoundALSA.cxx 2004-01-22 00:57:30.000000000 -0600 @@ -16,6 +16,10 @@ // $Id: stella-1.3-alsa-fix.patch,v 1.2 2004/02/01 12:29:32 ferringb Exp $ //============================================================================ +#include +#if SND_LIB_MAJOR==1 +#define ALSA_PCM_OLD_HW_PARAMS_API +#endif #include #include diff -ur stella-1.3/src/ui/sound/SoundALSA.hxx stella-1.3-fixed/src/ui/sound/SoundALSA.hxx --- stella-1.3/src/ui/sound/SoundALSA.hxx 2003-02-17 19:19:44.000000000 -0600 +++ stella-1.3-fixed/src/ui/sound/SoundALSA.hxx 2004-01-22 00:57:01.000000000 -0600 @@ -20,6 +19,10 @@ #ifndef SOUNDALSA_HXX #define SOUNDALSA_HXX +#include +#if SND_LIB_MAJOR==1 +#define ALSA_PCM_OLD_HW_PARAMS_API +#endif #include #include "Sound.hxx"