$OpenBSD: patch-gtkpool_sound_cpp,v 1.2 2002/09/28 21:01:17 naddy Exp $
--- gtkpool/sound.cpp.orig	Mon Jan 14 10:23:39 2002
+++ gtkpool/sound.cpp	Sat Sep 28 22:54:25 2002
@@ -20,12 +20,18 @@
 #include <sys/stat.h>
 #include <fcntl.h>
 #include <unistd.h>
+#ifdef __OpenBSD__
+#include <soundcard.h>
+#include <sys/audioio.h>
+#include <string.h>
+#else
 #include <sys/soundcard.h>
+#endif
 #include <sys/ioctl.h>
 #include <errno.h>
 #include "sound.h"
 
-SoundError::SoundError(char *desc, int c, int r = 0, int g = 0){
+SoundError::SoundError(char *desc, int c, int r, int g){
 	description = strdup(desc);
 	code = c;
 	requested = r;
