$OpenBSD: patch-utils_lqtplay_c,v 1.2 2004/12/04 21:44:34 sturm Exp $
--- utils/lqtplay.c.orig	Tue Jan 20 20:32:30 2004
+++ utils/lqtplay.c	Mon Aug  9 02:56:37 2004
@@ -19,8 +19,10 @@
 #include <sys/ipc.h>
 #include <sys/shm.h>
 #include <sys/ioctl.h>
-#ifdef	HAVE_SOUNDCARD_H
+#ifdef	HAVE_SYS_SOUNDCARD_H
 #include <sys/soundcard.h>
+#else
+#include <soundcard.h>
 #endif
 
 #include <X11/Xlib.h>
@@ -656,7 +658,7 @@ static void qt_init(FILE *fp, char *file
 	qt_hasaudio = 1;
 	if (quicktime_track_channels(qt,0) > 1)
 	    qt_stereo = 1;
-	if (-1 == oss_init("/dev/dsp", qt_stereo ? 2 : 1,
+	if (-1 == oss_init("/dev/audio", qt_stereo ? 2 : 1,
 			   quicktime_sample_rate(qt,0)))
 	    qt_hasaudio = 0;
     }
