$OpenBSD: patch-common_snd_oss_c,v 1.2 2008/01/11 16:48:44 ajacoutot Exp $
--- common/snd_oss.c.orig	Mon Jan 10 17:59:31 2000
+++ common/snd_oss.c	Fri Jan 11 17:46:14 2008
@@ -30,6 +30,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 #ifdef HAVE_SYS_MMAN_H
 # include <sys/mman.h>
 #endif
+#if defined HAVE_SOUNDCARD_H
+#include <soundcard.h>
+#endif
 #if defined HAVE_SYS_SOUNDCARD_H
 # include <sys/soundcard.h>
 #elif defined HAVE_LINUX_SOUNDCARD_H
