diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2001-03-23 00:13:24 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2001-03-23 00:13:24 +0000 |
commit | 7013c33662306f518d0cb77b78dc37537e987aad (patch) | |
tree | d199f4402500cfe31d875743e370e7264b3ffb9b | |
parent | 59fa619f271f13605c46579de40506d32ff949e2 (diff) |
fix compiling in audio-less configs
-rw-r--r-- | sys/dev/midi.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/midi.c b/sys/dev/midi.c index b91c4904218..4506f8dd87e 100644 --- a/sys/dev/midi.c +++ b/sys/dev/midi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: midi.c,v 1.5 2000/06/26 22:43:21 art Exp $ */ +/* $OpenBSD: midi.c,v 1.6 2001/03/23 00:13:23 mickey Exp $ */ /* $NetBSD: midi.c,v 1.10 1998/12/20 14:26:44 drochner Exp $ */ /* @@ -38,6 +38,7 @@ */ #include "midi.h" +#include "audio.h" #include "sequencer.h" #include <sys/param.h> @@ -743,7 +744,7 @@ midi_getinfo(dev, mi) #endif /* NMIDI > 0 */ -#if NMIDI > 0 || NMIDIBUS > 0 +#if (NMIDI > 0 || NMIDIBUS > 0) && NAUDIO > 0 int midiprint __P((void *, const char *)); |