$OpenBSD: patch-xbsndsrv_c,v 1.2 2007/08/08 14:59:47 aanriot Exp $
--- xbsndsrv.c.orig	Tue Mar  8 18:27:15 2005
+++ xbsndsrv.c	Mon Aug  6 21:21:39 2007
@@ -63,6 +63,8 @@
 /* non-sun audio includes */
 #ifdef __FreeBSD__
 #include <machine/soundcard.h>
+#elif __OpenBSD__
+#include <soundcard.h>
 #else
 #include <linux/soundcard.h>
 #endif
@@ -195,6 +197,10 @@ static struct _sound_name {
 #define SAMPLE_CHANNELS     2
 #define SAMPLE_SIZE         16
 #define SUN_AUDIO_REF 0
+#elif __OpenBSD__
+#define SOUND_DEVICE "/dev/sound"
+#define SAMPLE_CHANNELS     1
+#define SAMPLE_SIZE         8
 #else
 #define SOUND_DEVICE "/dev/dsp"
 #define SAMPLE_CHANNELS     1
