$NetBSD: patch-af,v 1.1.1.1 2001/05/19 13:02:23 drochner Exp $

--- xdao/SoundIF-linux.cc.orig	Sat May 19 00:12:28 2001
+++ xdao/SoundIF-linux.cc	Sat May 19 00:16:47 2001
@@ -34,7 +34,7 @@
  *
  */
 
-#include <linux/soundcard.h>
+#include <soundcard.h>
 
 #include <stdio.h>
 #include <assert.h>
@@ -167,8 +167,8 @@
   if (dspFd_ >= 0)
     return 0; // already open
 
-  if ((dspFd_ = open("/dev/dsp", O_WRONLY | O_NONBLOCK)) < 0) {
-    message(-1, "Cannot open \"/dev/dsp\": %s", strerror(errno));
+  if ((dspFd_ = open("/dev/sound", O_WRONLY | O_NONBLOCK)) < 0) {
+    message(-1, "Cannot open \"/dev/sound\": %s", strerror(errno));
     return 1;
   }
 
