$NetBSD: patch-ah,v 1.3 2006/01/08 04:57:55 joerg Exp $

--- plugins/sound_oss/sound_oss.h.orig	2006-06-21 12:58:41.000000000 +0930
+++ plugins/sound_oss/sound_oss.h	2007-09-01 13:44:26.000000000 +0930
@@ -15,12 +15,8 @@
 #include <sys/soundcard.h>
 #endif
 
-#ifdef P_FREEBSD
-#if P_FREEBSD >= 500000
+#if defined(P_FREEBSD) || defined(P_DRAGONFLY)
 #include <sys/soundcard.h>
-#else
-#include <machine/soundcard.h>
-#endif
 #endif
 
 #if defined(P_OPENBSD) || defined(P_NETBSD)
