diff options
author | bde <bde@FreeBSD.org> | 2004-06-23 06:35:43 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 2004-06-23 06:35:43 +0000 |
commit | 4a8d4eb719106f800297869ddb2f6c66e529bd02 (patch) | |
tree | 41b609647868884eb0bf820e0c138346bf68aed9 /sys/compat/linux/linux_util.c | |
parent | a7339dd630908d8b36aa1327f9cfe91bbb08e166 (diff) | |
download | FreeBSD-src-4a8d4eb719106f800297869ddb2f6c66e529bd02.zip FreeBSD-src-4a8d4eb719106f800297869ddb2f6c66e529bd02.tar.gz |
Include <sys/mutex.h> and its prerequisite <sys/lock.h> instead of
depending on namespace pollution in <sys/vnode.h> for the definition
of GIANT_REQUIRED.
Sorted includes.
Diffstat (limited to 'sys/compat/linux/linux_util.c')
-rw-r--r-- | sys/compat/linux/linux_util.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/compat/linux/linux_util.c b/sys/compat/linux/linux_util.c index 39c92f2..264e6c1 100644 --- a/sys/compat/linux/linux_util.c +++ b/sys/compat/linux/linux_util.c @@ -33,10 +33,12 @@ __FBSDID("$FreeBSD$"); #include <sys/param.h> -#include <sys/systm.h> +#include <sys/lock.h> +#include <sys/malloc.h> +#include <sys/mutex.h> #include <sys/namei.h> #include <sys/proc.h> -#include <sys/malloc.h> +#include <sys/systm.h> #include <sys/vnode.h> #include <machine/stdarg.h> |