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

This commit is contained in:
Kris Kennaway 2002-09-08 08:41:13 +00:00
parent eb11bf9a32
commit 2054bd0729
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=65829
3 changed files with 36 additions and 0 deletions

View file

@ -0,0 +1,14 @@
--- ./Output/OSS/OSS.h.orig Sat Sep 7 18:38:05 2002
+++ ./Output/OSS/OSS.h Sat Sep 7 18:38:13 2002
@@ -23,11 +23,7 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/time.h>
-#ifdef __FreeBSD__
-#include <machine/soundcard.h>
-#else
#include <sys/soundcard.h>
-#endif
#include <fcntl.h>
#include <pthread.h>

View file

@ -0,0 +1,11 @@
--- xbsndsrv.c.orig Sat Sep 7 17:50:18 2002
+++ xbsndsrv.c Sat Sep 7 17:50:25 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 @@
--- sound.c.orig Sat Sep 7 17:50:13 2002
+++ sound.c Sat Sep 7 17:50:35 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