diff -ur adxplay-20020928.orig/Makefile adxplay-20020928/Makefile --- adxplay-20020928.orig/Makefile Sat Sep 28 04:37:27 2002 +++ adxplay-20020928/Makefile Sat Sep 28 18:16:32 2002 @@ -11,10 +11,10 @@ $(CC) -o ${.TARGET} ${.ALLSRC} adxplay: adxplay.o adx_decode.o adx_unix.o - $(CC) -o ${.TARGET} ${.ALLSRC} + $(CC) -o ${.TARGET} ${.ALLSRC} -lossaudio afsplay: afsplay.o adx_decode.o adx_unix.o - $(CC) -o ${.TARGET} ${.ALLSRC} + $(CC) -o ${.TARGET} ${.ALLSRC} -lossaudio adpcm2raw: adpcm2raw.o adpcm_decode.o $(CC) -o ${.TARGET} ${.ALLSRC} diff -ur adxplay-20020928.orig/adx_unix.c adxplay-20020928/adx_unix.c --- adxplay-20020928.orig/adx_unix.c Sat Sep 28 04:37:27 2002 +++ adxplay-20020928/adx_unix.c Sat Sep 28 18:18:06 2002 @@ -4,7 +4,7 @@ #include #include #include "adx_decode.h" -#include +#include int @@ -13,7 +13,7 @@ int x; int dspfd = -1; - dspfd = open("/dev/dsp", O_WRONLY); + dspfd = open("/dev/audio", O_WRONLY); if (dspfd < 0) { fprintf(stderr, "can't open /dev/dsp\n");