diff options
author | bde <bde@FreeBSD.org> | 1996-09-03 14:25:27 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1996-09-03 14:25:27 +0000 |
commit | 51ff523803ffa72907ef0cb5d9f95e36ac2b1b73 (patch) | |
tree | ba9e41138a27f4565955ba86fe3a5a131647e3fc /sys/ufs | |
parent | ad9b91037fe27c080ad2621696ce946fffdee225 (diff) | |
download | FreeBSD-src-51ff523803ffa72907ef0cb5d9f95e36ac2b1b73.zip FreeBSD-src-51ff523803ffa72907ef0cb5d9f95e36ac2b1b73.tar.gz |
Eliminated nested include of <sys/unistd.h> in <sys/file.h> in the kernel.
Include it directly in the few places where it is used.
Reduced some #includes of <sys/file.h> to #includes of <sys/fcntl.h> or
nothing.
Diffstat (limited to 'sys/ufs')
-rw-r--r-- | sys/ufs/ufs/ufs_vnops.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/ufs/ufs/ufs_vnops.c b/sys/ufs/ufs/ufs_vnops.c index 2b8fd00..4084a11 100644 --- a/sys/ufs/ufs/ufs_vnops.c +++ b/sys/ufs/ufs/ufs_vnops.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)ufs_vnops.c 8.10 (Berkeley) 4/1/94 - * $Id: ufs_vnops.c,v 1.38 1996/03/29 12:30:30 bde Exp $ + * $Id: ufs_vnops.c,v 1.39 1996/07/09 16:51:18 wollman Exp $ */ #include "opt_quota.h" @@ -46,12 +46,13 @@ #include <sys/namei.h> #include <sys/resourcevar.h> #include <sys/kernel.h> -#include <sys/file.h> +#include <sys/fcntl.h> #include <sys/stat.h> #include <sys/buf.h> #include <sys/proc.h> #include <sys/conf.h> #include <sys/mount.h> +#include <sys/unistd.h> #include <sys/vnode.h> #include <sys/malloc.h> #include <sys/dirent.h> |