diff options
author | Bruce Evans <bde@FreeBSD.org> | 2002-09-15 08:21:14 +0000 |
---|---|---|
committer | Bruce Evans <bde@FreeBSD.org> | 2002-09-15 08:21:14 +0000 |
commit | ab85003bf54049316f11f3c6a3dd3e3bf11b46ff (patch) | |
tree | 970e526a3f6cbfe31fe312b3935bb3cb2e51babd /sys/dev/sound/pcm/sound.h | |
parent | 528bebffb198af22a4599346990cf5454a17818a (diff) | |
download | src-ab85003bf54049316f11f3c6a3dd3e3bf11b46ff.tar.gz src-ab85003bf54049316f11f3c6a3dd3e3bf11b46ff.zip |
Fixed breakage from removing the used include of <sys/buf.h> in the
previous commit:
Include <sys/mutex.h> and its prerequisite <sys/lock.h> instead of
depending on namespace pollution in <sys/buf.h>. Only do this in the
__FreeBSD_version > 500000 case although the __FreeBSD_version < 500000
case has already rotted.
Notes
Notes:
svn path=/head/; revision=103338
Diffstat (limited to 'sys/dev/sound/pcm/sound.h')
-rw-r--r-- | sys/dev/sound/pcm/sound.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/sound/pcm/sound.h b/sys/dev/sound/pcm/sound.h index 7afa9485db48..5966e364cdae 100644 --- a/sys/dev/sound/pcm/sound.h +++ b/sys/dev/sound/pcm/sound.h @@ -73,6 +73,9 @@ #undef USING_DEVFS #if __FreeBSD_version > 500000 +#include <sys/lock.h> +#include <sys/mutex.h> + #define USING_MUTEX #define USING_DEVFS #endif |