aboutsummaryrefslogtreecommitdiff
path: root/sys/miscfs/portal/portal_vnops.c
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1996-09-03 14:25:27 +0000
committerBruce Evans <bde@FreeBSD.org>1996-09-03 14:25:27 +0000
commitb71fec07dbcbbd6b5665aef535e57fa10a3e910c (patch)
treeba9e41138a27f4565955ba86fe3a5a131647e3fc /sys/miscfs/portal/portal_vnops.c
parent4e4e09596dc1fc6fa74088a8ee6394ce60a8a513 (diff)
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.
Notes
Notes: svn path=/head/; revision=18020
Diffstat (limited to 'sys/miscfs/portal/portal_vnops.c')
-rw-r--r--sys/miscfs/portal/portal_vnops.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/miscfs/portal/portal_vnops.c b/sys/miscfs/portal/portal_vnops.c
index e1ae90416231..a9d7328b43c6 100644
--- a/sys/miscfs/portal/portal_vnops.c
+++ b/sys/miscfs/portal/portal_vnops.c
@@ -35,7 +35,7 @@
*
* @(#)portal_vnops.c 8.8 (Berkeley) 1/21/94
*
- * $Id: portal_vnops.c,v 1.12 1996/06/12 03:37:29 davidg Exp $
+ * $Id: portal_vnops.c,v 1.13 1996/06/12 05:09:59 gpalmer Exp $
*/
/*
@@ -50,6 +50,7 @@
#include <sys/time.h>
#include <sys/proc.h>
#include <sys/filedesc.h>
+#include <sys/unistd.h>
#include <sys/vnode.h>
#include <sys/file.h>
#include <sys/stat.h>