$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>
