$NetBSD: patch-bc,v 1.3 2000/04/27 14:44:23 mycroft Exp $ --- sun_a.c.orig Mon May 20 09:09:47 1996 +++ sun_a.c Thu Apr 27 10:37:28 2000 @@ -28,12 +28,13 @@ */ #include +#include #include #include #include -#ifdef SOLARIS +#if defined(SOLARIS) || defined(__NetBSD__) #include #else #include @@ -81,7 +82,7 @@ /* Open the audio device */ -#ifdef SOLARIS +#if defined(SOLARIS) || defined(__NetBSD__) fd=open(dpm.name, O_RDWR ); #else fd=open(dpm.name, O_RDWR | O_NDELAY);