summaryrefslogtreecommitdiff
path: root/games/maelstrom/patches/patch-ac
blob: 4c16524c14566bc92573ca9aac0e2f5f8e27ee99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- 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"