$NetBSD: patch-ab,v 1.1 2007/01/29 21:04:22 joerg Exp $

--- src/mppdec.h.orig	2007-01-29 20:36:43.000000000 +0000
+++ src/mppdec.h
@@ -160,7 +160,7 @@
 # include <sys/time.h>
 # if   defined __linux__        // the standard is that this file is stored somewhere on the hard disk
 #  include <linux/soundcard.h>
-# elif defined __bsdi_  ||  defined __FreeBSD__
+# elif defined __bsdi_  ||  defined __FreeBSD__ || defined(__DragonFly__) || defined(__sun)
 #  include <sys/soundcard.h>
 # elif defined __NetBSD__  ||  defined __OpenBSD__
 #  include <soundcard.h>
