--- src/sound.h.orig Sun Jun 20 18:05:54 1999 +++ src/sound.h Sun Jun 20 18:06:06 1999 @@ -26,7 +26,7 @@ extern void ioctl(long, long, void *); #endif -#ifdef __FreeBSD__ +#if defined(__FreeBSD__) && !defined(NO_SOUNDS) #include #endif