summaryrefslogtreecommitdiff
path: root/games/maelstrom/patches/patch-ac
blob: c5b7e3672a129290a117cd58af877bcdcd94e2eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
$NetBSD: patch-ac,v 1.4 1998/08/07 10:40:42 agc Exp $

--- mixer.h.orig	Sun May 25 23:18:10 1997
+++ mixer.h	Mon Aug  3 00:51:48 1998
@@ -22,7 +22,7 @@
 #include <linux/soundcard.h>
 #undef sparc				/* For sparc Linux */
 #else
-#ifdef sparc
+#if defined(sparc) && !defined(__NetBSD__)
 #ifdef __SVR4   /* Solaris */
 #include <sys/audioio.h>
 #else           /* SunOS */
@@ -38,6 +38,10 @@
 #endif /* HPUX */
 #endif /* sparc */
 #endif /* linux */
+#ifdef __NetBSD__
+#include <sys/signal.h>
+#include <soundcard.h>
+#endif
 };
 
 #define _PATH_DEV_AUDIO	"/dev/audio"