diff --git a/sys/dev/sound/midi/midi.h b/sys/dev/sound/midi/midi.h --- a/sys/dev/sound/midi/midi.h +++ b/sys/dev/sound/midi/midi.h @@ -29,7 +29,6 @@ #ifndef MIDI_H #define MIDI_H -#include #include MALLOC_DECLARE(M_MIDI); diff --git a/sys/dev/sound/midi/midi.c b/sys/dev/sound/midi/midi.c --- a/sys/dev/sound/midi/midi.c +++ b/sys/dev/sound/midi/midi.c @@ -32,23 +32,17 @@ #include #include -#include +#include #include -#include +#include #include -#include -#include #include #include #include -#include #include -#include #include -#include #include #include -#include #include #include @@ -57,9 +51,10 @@ #endif #include +#include + #include "mpu_if.h" -#include MALLOC_DEFINE(M_MIDI, "midi buffers", "Midi data allocation area"); #define MIDI_NAMELEN 16 diff --git a/sys/dev/sound/midi/mpu401.c b/sys/dev/sound/midi/mpu401.c --- a/sys/dev/sound/midi/mpu401.c +++ b/sys/dev/sound/midi/mpu401.c @@ -27,17 +27,11 @@ */ #include +#include #include -#include -#include #include -#include -#include -#include -#include +#include #include -#include -#include /* to get driver_intr_t */ #ifdef HAVE_KERNEL_OPTION_HEADERS #include "opt_snd.h"