From 041e207decd97529fcb069e4010a57dbeec28640 Mon Sep 17 00:00:00 2001 From: Cameron Grant Date: Tue, 27 Feb 2001 06:58:55 +0000 Subject: [PATCH] MFS: 4.x/5.x compatibility #defines --- sys/dev/sound/pcm/sound.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sys/dev/sound/pcm/sound.h b/sys/dev/sound/pcm/sound.h index 48ed90b68c2..999f62a76e5 100644 --- a/sys/dev/sound/pcm/sound.h +++ b/sys/dev/sound/pcm/sound.h @@ -68,6 +68,12 @@ #include #include +#if __FreeBSD_version > 500000 +#define USING_MUTEX +#define USING_DEVFS +#define SND_DYNSYSCTL +#endif + #else struct isa_device { int dummy; }; #define d_open_t void