blob: 795c0757f45f075e7c106e49b4ac0b724d40573e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
$NetBSD: patch-br,v 1.1 2001/11/13 21:09:07 jlam Exp $
--- libkmid/sndcard.h.orig Sat Jun 24 09:35:18 2000
+++ libkmid/sndcard.h
@@ -31,9 +31,12 @@
#ifdef HAVE_SYS_SOUNDCARD_H
#include <sys/soundcard.h>
- #define HAVE_OSS_SUPPORT
#elif defined(HAVE_MACHINE_SOUNDCARD_H)
#include <machine/soundcard.h>
+#endif
+
+/* Check for OSS MIDI API */
+#if defined(SNDCTL_SEQ_NRSYNTHS) && defined(CTL_MAIN_VOLUME)
#define HAVE_OSS_SUPPORT
#else
#undef HAVE_OSS_SUPPORT
|