Fix build on -current (machine/soundcard.h -> sys/soundcard.h)

This commit is contained in:
Kris Kennaway 2002-09-08 08:59:58 +00:00
parent 2054bd0729
commit 7b0023cf41
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=65830
6 changed files with 58 additions and 3 deletions

View file

@ -0,0 +1,11 @@
--- sound.c.orig Wed Aug 25 09:27:16 1999
+++ sound.c Sun Sep 8 00:55:06 2002
@@ -110,7 +110,7 @@
#include <sys/stat.h>
#include <sys/wait.h>
#ifdef __FreeBSD__
-#include <machine/soundcard.h>
+#include <sys/soundcard.h>
#else
#include <linux/soundcard.h>
#endif

View file

@ -0,0 +1,11 @@
--- xbsndsrv.c.orig Wed Aug 25 09:27:23 1999
+++ xbsndsrv.c Sun Sep 8 00:55:05 2002
@@ -110,7 +110,7 @@
#include <sys/ioctl.h>
#include <sys/time.h>
#ifdef __FreeBSD__
-#include <machine/soundcard.h>
+#include <sys/soundcard.h>
#else
#include <linux/soundcard.h>
#endif

View file

@ -0,0 +1,11 @@
--- audio.c.orig Sun Sep 8 01:47:55 2002
+++ audio.c Sun Sep 8 01:48:02 2002
@@ -55,7 +55,7 @@
#include <unistd.h>
#include <stdio.h>
#include <fcntl.h>
-#include <machine/soundcard.h>
+#include <sys/soundcard.h>
#include "include/error.h"
#include "include/audio.h"

View file

@ -1,11 +1,11 @@
--- sound.c Thu Jan 1 00:06:00 1998
+++ /home/andy/tmp/wrk/sound.c Sat Jun 29 23:19:09 1996
--- sound.c.orig Sun Jul 4 02:52:36 1999
+++ sound.c Sun Sep 8 01:51:39 2002
@@ -39,6 +39,9 @@
#ifdef linux
#include <linux/soundcard.h>
#endif
+#ifdef __FreeBSD__
+#include <machine/soundcard.h>
+#include <sys/soundcard.h>
+#endif
#ifdef SOUND_RPLAY
#include <rplay.h>

View file

@ -0,0 +1,11 @@
--- ./koules.sndsrv.freebsd.c.orig Sun Sep 8 01:03:48 2002
+++ ./koules.sndsrv.freebsd.c Sun Sep 8 01:03:55 2002
@@ -14,7 +14,7 @@
#include <unistd.h>
#include <fcntl.h>
#include <sys/ioctl.h>
-#include <machine/soundcard.h>
+#include <sys/soundcard.h>
#include <sys/time.h>
#include <signal.h>
#include <string.h>

View file

@ -0,0 +1,11 @@
--- Mailbox.c.orig Sun Sep 8 01:54:37 2002
+++ Mailbox.c Sun Sep 8 01:54:50 2002
@@ -75,7 +75,7 @@
#ifdef linux
#include <linux/soundcard.h>
#else
-#include <machine/soundcard.h>
+#include <sys/soundcard.h>
#endif /* ifdef linux */
#define DEV_MIXER "/dev/mixer"