$NetBSD: patch-aa,v 1.1 2004/03/20 15:16:10 wiz Exp $

--- src/sound/midi_adlib.c.orig	2002-11-08 22:45:06.000000000 +0100
+++ src/sound/midi_adlib.c
@@ -31,7 +31,7 @@
 #include <midiout.h>
 #include <soundserver.h>
 
-#ifdef HAVE_SYS_SOUNDCARD_H
+#if defined(HAVE_SYS_SOUNDCARD_H) && !defined(__NetBSD__)
 
 #include <sys/ioctl.h>
 #include <sys/time.h>
