1 --- Modules/ossaudiodev.c.orig 2022-04-18 10:44:02.627033000 -0400 2 +++ Modules/ossaudiodev.c 2022-04-18 10:46:47.719713000 -0400 3 @@ -41,7 +41,7 @@ 4 typedef unsigned long uint32_t; 5 #endif 6 7 -#elif defined(__FreeBSD__) 8 +#elif defined(__FreeBSD__) || defined(__MidnightBSD__) 9 10 # ifndef SNDCTL_DSP_CHANNELS 11 # define SNDCTL_DSP_CHANNELS SOUND_PCM_WRITE_CHANNELS 12