$NetBSD: patch-aj,v 1.3 1998/12/14 02:17:11 tv Exp $ --- multimedia/midi.c.orig Sun Dec 13 11:27:17 1998 +++ multimedia/midi.c Sun Dec 13 11:31:30 1998 @@ -108,7 +108,7 @@ /*======================================================================* * Low level MIDI implemantation * *======================================================================*/ - +#ifndef __NetBSD__ /************************************************************************** * MIDI_NotifyClient [internal] */ @@ -1482,6 +1482,7 @@ */ return MMSYSERR_NOTENABLED; } +#endif /*======================================================================* * MIDI entry points * @@ -1497,6 +1498,7 @@ wDevID, wMsg, dwUser, dwParam1, dwParam2); switch (wMsg) { +#ifndef __NetBSD__ case MODM_OPEN: return modOpen(wDevID, (LPMIDIOPENDESC)dwParam1, dwParam2); case MODM_CLOSE: @@ -1519,6 +1521,7 @@ return 0; case MODM_RESET: return modReset(wDevID); +#endif default: TRACE(midi, "Unsupported message\n"); }