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

This commit is contained in:
Kris Kennaway 2003-05-10 07:13:31 +00:00
parent 83dc7745cb
commit be40d794de
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=80590

View file

@ -0,0 +1,14 @@
--- src_sound/dsp_mixxer.c.orig Sat May 10 00:11:13 2003
+++ src_sound/dsp_mixxer.c Sat May 10 00:11:16 2003
@@ -19,10 +19,8 @@
#include <unistd.h>
#include <fcntl.h>
#include <sys/ioctl.h>
-#ifdef Linux
+#if defined(Linux) || defined(FreeBSD)
#include <sys/soundcard.h>
-#elif FreeBSD
- #include <machine/soundcard.h>
#endif
#include "funktracker_defs.h"
#include "funktracker.h"