Fix build on -current (machine/soundcard.h -> sys/soundcard.h)
This commit is contained in:
parent
83dc7745cb
commit
be40d794de
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=80590
1 changed files with 14 additions and 0 deletions
14
games/nighthawk/files/patch-dsp_mixxer.c
Normal file
14
games/nighthawk/files/patch-dsp_mixxer.c
Normal 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"
|
Loading…
Reference in a new issue