summaryrefslogtreecommitdiff
path: root/games/freesci/patches/patch-ad
blob: 60011c6183c4f01d9eb05a402c5bdf0801fedb1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ad,v 1.1 2004/03/20 15:16:10 wiz Exp $

--- src/sound/midiout_ossopl3.c.orig	2002-09-16 15:19:15.000000000 +0200
+++ src/sound/midiout_ossopl3.c
@@ -63,7 +63,7 @@ Fmplay includes the following notice:
 
 #include <midiout.h>
 
-#ifdef HAVE_SYS_SOUNDCARD_H
+#if defined (HAVE_SYS_SOUNDCARD_H) && !defined(__NetBSD__)
 #include <stdio.h>
 #include <errno.h>
 #include <sys/ioctl.h>