blob: 5dfef87ff02cf3b64ed174432a29159d206424ba (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
$NetBSD: patch-ae,v 1.2 1998/08/07 10:40:35 agc Exp $
--- multimedia/dsound.c.orig Sun May 31 18:14:50 1998
+++ multimedia/dsound.c Wed Jun 17 00:00:14 1998
@@ -45,13 +45,17 @@
#include "debug.h"
#ifdef HAVE_OSS
-# include <sys/ioctl.h>
+#include <sys/ioctl.h>
+#ifdef __NetBSD__
+#include <soundcard.h>
+#else
# ifdef HAVE_MACHINE_SOUNDCARD_H
# include <machine/soundcard.h>
# endif
# ifdef HAVE_SYS_SOUNDCARD_H
# include <sys/soundcard.h>
# endif
+#endif
static int audiofd = -1;
static LPDIRECTSOUND dsound = NULL;
|