summaryrefslogtreecommitdiffstats
path: root/sys/miscfs/fdesc
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1996-09-03 14:25:27 +0000
committerbde <bde@FreeBSD.org>1996-09-03 14:25:27 +0000
commit51ff523803ffa72907ef0cb5d9f95e36ac2b1b73 (patch)
treeba9e41138a27f4565955ba86fe3a5a131647e3fc /sys/miscfs/fdesc
parentad9b91037fe27c080ad2621696ce946fffdee225 (diff)
downloadFreeBSD-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/fdesc')
-rw-r--r--sys/miscfs/fdesc/fdesc_vnops.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/miscfs/fdesc/fdesc_vnops.c b/sys/miscfs/fdesc/fdesc_vnops.c
index 27adb43..8b08090 100644
--- a/sys/miscfs/fdesc/fdesc_vnops.c
+++ b/sys/miscfs/fdesc/fdesc_vnops.c
@@ -35,7 +35,7 @@
*
* @(#)fdesc_vnops.c 8.9 (Berkeley) 1/21/94
*
- * $Id: fdesc_vnops.c,v 1.16 1996/06/12 03:37:02 davidg Exp $
+ * $Id: fdesc_vnops.c,v 1.17 1996/06/12 05:09:52 gpalmer Exp $
*/
/*
@@ -48,6 +48,7 @@
#include <sys/kernel.h> /* boottime */
#include <sys/resourcevar.h>
#include <sys/filedesc.h>
+#include <sys/unistd.h>
#include <sys/vnode.h>
#include <sys/malloc.h>
#include <sys/file.h>
OpenPOWER on IntegriCloud