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.
This commit is contained in:
Bruce Evans 2002-09-15 08:21:14 +00:00
parent 528bebffb1
commit ab85003bf5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=103338

View File

@ -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