summaryrefslogtreecommitdiff
path: root/games/rocksndiamonds/patches/patch-ae
blob: 6c982559557f3f137ca564d0ed6ee34edeed0d40 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-ae,v 1.1 2001/07/05 22:07:59 kristerw Exp $
--- src/libgame/sound.h.orig	Sat Dec 16 22:07:58 2000
+++ src/libgame/sound.h	Thu Jul  5 23:38:13 2001
@@ -26,6 +26,9 @@
 #include <linux/soundcard.h>
 #elif defined(PLATFORM_FREEBSD)
 #include <machine/soundcard.h>
+#elif defined(PLATFORM_NETBSD)
+#include <sys/ioctl.h>
+#include <sys/audioio.h>
 #elif defined(PLATFORM_HPUX)
 #include <sys/audio.h>
 #endif
@@ -33,7 +36,7 @@
 #include "system.h"
 
 
-#if defined(PLATFORM_LINUX) || defined(PLATFORM_FREEBSD) || defined(VOXWARE)
+#if defined(PLATFORM_LINUX) || defined(PLATFORM_FREEBSD) || defined(VOXWARE) || defined(PLATFORM_NETBSD)
 #define AUDIO_STREAMING_DSP
 #endif