$NetBSD: patch-ab,v 1.3 2001/06/03 17:34:58 kei Exp $ --- SndUnix.c.orig Thu Mar 8 04:15:16 2001 +++ SndUnix.c Sun Jun 3 10:10:59 2001 @@ -31,7 +31,9 @@ #include #include +#ifndef __NetBSD__ #include +#endif #define AUDIO_CONV(A) (ULAW[0xFF&(128+(A))]) @@ -236,7 +238,7 @@ case SIGUSR1: /* Suspend execution, until SIGUSR2 catched */ #ifndef SUN_AUDIO - ioctl(SoundFD,SNDCTL_DSP_RESET); + ioctl(SoundFD,SNDCTL_DSP_RESET,1); #endif close(SoundFD); for(Suspended=1;Suspended;pause());