$NetBSD: patch-ab,v 1.3 2005/12/12 15:03:45 joerg Exp $

--- ListView.h.orig	1997-11-16 13:56:31.000000000 +0000
+++ ListView.h
@@ -12,12 +12,16 @@
 #include <qdialog.h>
 #include "MultiListBox.h"
 
-#ifdef FreeBSD
+#if defined(FreeBSD) || defined(__DragonFly__)
 #include <machine/soundcard.h>
 #endif
 #ifdef Linux
 #include <sys/soundcard.h>
 #endif
+#ifdef NetBSD
+#include <sys/ioctl.h>
+#include <soundcard.h>
+#endif
 
 #define DEVICE 0
 #define MIXER "/dev/mixer"
