$NetBSD: patch-ae,v 1.3 1999/11/27 21:24:47 rh Exp $

--- multimedia/dsound.c.orig	Sat Nov 27 22:17:22 1999
+++ multimedia/dsound.c	Sat Nov 27 22:17:22 1999
@@ -49,13 +49,17 @@
 #include "xmalloc.h"
 
 #ifdef HAVE_OSS
-# include <sys/ioctl.h>
+#include <sys/ioctl.h>
+#ifdef __NetBSD__
+#include <soundcard.h>
+#else
 # ifdef HAVE_MACHINE_SOUNDCARD_H
 #  include <machine/soundcard.h>
 # endif
 # ifdef HAVE_SYS_SOUNDCARD_H
 #  include <sys/soundcard.h>
 # endif
+#endif
 
 /* #define USE_DSOUND3D 1 */
 
