$NetBSD: patch-ac,v 1.1.1.1 2004/01/26 12:44:06 jmmv Exp $ --- lavtools/audiolib.c.orig Mon Dec 8 13:28:32 2003 +++ lavtools/audiolib.c Sun Jan 25 15:47:33 2004 @@ -665,7 +665,9 @@ const char *audio_dev_name; #ifndef FORK_NOT_THREAD +#if !defined(__NetBSD__) || __NetBSD_Version__ >= 106130000 /* 1.6M */ struct sched_param schedparam; +#endif sigset_t blocked_signals; /* Set the capture thread in a reasonable state - cancellation enabled @@ -862,7 +864,8 @@ memset(buf+nbset*info.fragsize,0,info.fragsize); } -#ifndef FORK_NOT_THREAD +#if !defined(FORK_NOT_THREAD) && \ + (!defined(__NetBSD__) || __NetBSD_Version__ >= 106130000) /* 1.6M */ /* Now we're ready to go move to Real-time scheduling... */ schedparam.sched_priority = 1;