summaryrefslogtreecommitdiff
path: root/emulators/wine/patches/patch-ae
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/wine/patches/patch-ae')
-rw-r--r--emulators/wine/patches/patch-ae21
1 files changed, 21 insertions, 0 deletions
diff --git a/emulators/wine/patches/patch-ae b/emulators/wine/patches/patch-ae
new file mode 100644
index 00000000000..ce6887de523
--- /dev/null
+++ b/emulators/wine/patches/patch-ae
@@ -0,0 +1,21 @@
+--- 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;