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

--- src/ptlib/unix/ossaix.cxx.orig	2006-01-08 03:18:33.000000000 +0000
+++ src/ptlib/unix/ossaix.cxx
@@ -103,8 +103,8 @@
 #include <sys/time.h>
 #endif
 
-#ifdef P_FREEBSD
-#include <machine/soundcard.h>
+#if defined(P_FREEBSD) || defined(P_DRAGONFLY)
+#include <sys/soundcard.h>
 #endif
 
 #if defined(P_OPENBSD) || defined(P_NETBSD)
