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/miscfs/specfs | |
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/miscfs/specfs')
-rw-r--r-- | sys/miscfs/specfs/spec_vnops.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/miscfs/specfs/spec_vnops.c b/sys/miscfs/specfs/spec_vnops.c index 58241c2..6df8bad 100644 --- a/sys/miscfs/specfs/spec_vnops.c +++ b/sys/miscfs/specfs/spec_vnops.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)spec_vnops.c 8.6 (Berkeley) 4/9/94 - * $Id: spec_vnops.c,v 1.30 1996/07/27 03:50:31 dyson Exp $ + * $Id: spec_vnops.c,v 1.31 1996/08/21 21:55:33 dyson Exp $ */ #include <sys/param.h> @@ -42,11 +42,12 @@ #include <sys/buf.h> #include <sys/mount.h> #include <sys/namei.h> +#include <sys/unistd.h> #include <sys/vnode.h> #include <sys/stat.h> #include <sys/errno.h> #include <sys/ioctl.h> -#include <sys/file.h> +#include <sys/fcntl.h> #include <sys/disklabel.h> #include <sys/vmmeter.h> |