blob: 6203f839988784492172d38a3caf2a8378d391f7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
$NetBSD: patch-midic,v 1.1 2007/01/07 08:28:05 rillig Exp $
--- src/midi.c.orig 2006-08-06 20:11:09.000000000 +0200
+++ src/midi.c 2007-01-07 09:20:08.000000000 +0100
@@ -14,6 +14,12 @@
#include <sys/soundcard.h>
#endif
+#if !defined(SEQ_DEFINEBUF)
+/* Some systems (for example NetBSD 3.0) do not have sequencer support
+ * (SEQ_DEFINEBUF(), struct synth_card). */
+# undef HAVE_SYS_SOUNDCARD_H
+#endif
+
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
|