diff --git a/sys/i386/isa/snd/sound.c b/sys/i386/isa/snd/sound.c index a9b5fd55666..fcd5e397204 100644 --- a/sys/i386/isa/snd/sound.c +++ b/sys/i386/isa/snd/sound.c @@ -54,6 +54,11 @@ #if NPCM > 0 /* from "snd.h" */ +#include "snd.h" +#if NSND > 0 +#error Can't have both Luigi's (pcm0) and voxware (snd0) at the same time. +#endif + #define SNDSTAT_BUF_SIZE 4000 static char status_buf[SNDSTAT_BUF_SIZE] ; static int status_len = 0 ;