Include <sys/mutex.h> and its prerequisite <sys/lock.h> instead of

depending on namespace pollution in <sys/buf.h> and/or <sys/vnode.h>

Approved by:	re (kensmith) (blanket)
This commit is contained in:
bde 2007-08-07 01:40:27 +00:00
parent c7403014c7
commit cc09c09c22

View File

@ -50,7 +50,9 @@
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/lock.h>
#include <sys/lockf.h>
#include <sys/mutex.h>
#include <sys/namei.h>
#include <sys/resourcevar.h> /* defines plimit structure in proc struct */
#include <sys/stat.h>