$OpenBSD: patch-src_unix_sound_cpp,v 1.1 2006/10/12 14:09:33 alek Exp $
--- src/unix/sound.cpp.orig	Tue Sep 20 23:35:41 2005
+++ src/unix/sound.cpp	Sat Feb 11 22:49:42 2006
@@ -34,6 +34,10 @@
 #include <sys/soundcard.h>
 #endif
 
+#ifdef HAVE_SOUNDCARD_H
+#include <soundcard.h>
+#endif
+
 #ifndef WX_PRECOMP
     #include "wx/event.h"
     #include "wx/intl.h"
@@ -102,10 +106,10 @@ public:
 // wxSoundBackendOSS, for Linux
 // ----------------------------------------------------------------------------
 
-#ifdef HAVE_SYS_SOUNDCARD_H
+#if defined(HAVE_SYS_SOUNDCARD_H) || defined(HAVE_SOUNDCARD_H)
 
 #ifndef AUDIODEV
-#define AUDIODEV   "/dev/dsp"    // Default path for audio device
+#define AUDIODEV   "/dev/audio"    // Default path for audio device
 #endif
 
 class wxSoundBackendOSS : public wxSoundBackend
