summaryrefslogtreecommitdiffstats
path: root/sys/miscfs
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1997-03-23 03:37:54 +0000
committerbde <bde@FreeBSD.org>1997-03-23 03:37:54 +0000
commit0d3591bdbd3a026b25e6400f8cc2717489321ee5 (patch)
tree6f29bb8eda668548be86212b07bea087a25e6b3d /sys/miscfs
parent9c1cce114fbef8364b2d49669b0215e8bac94fd3 (diff)
downloadFreeBSD-src-0d3591bdbd3a026b25e6400f8cc2717489321ee5.zip
FreeBSD-src-0d3591bdbd3a026b25e6400f8cc2717489321ee5.tar.gz
Don't #include <sys/fcntl.h> in <sys/file.h> if KERNEL is defined.
Fixed everything that depended on getting fcntl.h stuff from the wrong place. Most things don't depend on file.h stuff at all.
Diffstat (limited to 'sys/miscfs')
-rw-r--r--sys/miscfs/fifofs/fifo_vnops.c3
-rw-r--r--sys/miscfs/portal/portal_vnops.c3
-rw-r--r--sys/miscfs/union/union_subr.c4
-rw-r--r--sys/miscfs/union/union_vnops.c4
4 files changed, 8 insertions, 6 deletions
diff --git a/sys/miscfs/fifofs/fifo_vnops.c b/sys/miscfs/fifofs/fifo_vnops.c
index 599697c..683c10b 100644
--- a/sys/miscfs/fifofs/fifo_vnops.c
+++ b/sys/miscfs/fifofs/fifo_vnops.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)fifo_vnops.c 8.10 (Berkeley) 5/27/95
- * $Id$
+ * $Id: fifo_vnops.c,v 1.22 1997/02/22 09:40:17 peter Exp $
*/
#include <sys/param.h>
@@ -46,6 +46,7 @@
#include <sys/socketvar.h>
#include <sys/stat.h>
#include <sys/ioctl.h>
+#include <sys/fcntl.h>
#include <sys/file.h>
#include <sys/errno.h>
#include <sys/malloc.h>
diff --git a/sys/miscfs/portal/portal_vnops.c b/sys/miscfs/portal/portal_vnops.c
index c46668f..b8118a8 100644
--- a/sys/miscfs/portal/portal_vnops.c
+++ b/sys/miscfs/portal/portal_vnops.c
@@ -35,7 +35,7 @@
*
* @(#)portal_vnops.c 8.14 (Berkeley) 5/21/95
*
- * $Id$
+ * $Id: portal_vnops.c,v 1.17 1997/02/22 09:40:25 peter Exp $
*/
/*
@@ -52,6 +52,7 @@
#include <sys/filedesc.h>
#include <sys/unistd.h>
#include <sys/vnode.h>
+#include <sys/fcntl.h>
#include <sys/file.h>
#include <sys/stat.h>
#include <sys/mount.h>
diff --git a/sys/miscfs/union/union_subr.c b/sys/miscfs/union/union_subr.c
index 063cd44d..a437b54 100644
--- a/sys/miscfs/union/union_subr.c
+++ b/sys/miscfs/union/union_subr.c
@@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* @(#)union_subr.c 8.20 (Berkeley) 5/20/95
- * $Id$
+ * $Id: union_subr.c,v 1.14 1997/02/22 09:40:40 peter Exp $
*/
#include <sys/param.h>
@@ -45,7 +45,7 @@
#include <sys/vnode.h>
#include <sys/namei.h>
#include <sys/malloc.h>
-#include <sys/file.h>
+#include <sys/fcntl.h>
#include <sys/filedesc.h>
#include <sys/queue.h>
#include <sys/mount.h>
diff --git a/sys/miscfs/union/union_vnops.c b/sys/miscfs/union/union_vnops.c
index ae6a712..7909706 100644
--- a/sys/miscfs/union/union_vnops.c
+++ b/sys/miscfs/union/union_vnops.c
@@ -35,13 +35,13 @@
* SUCH DAMAGE.
*
* @(#)union_vnops.c 8.32 (Berkeley) 6/23/95
- * $Id$
+ * $Id: union_vnops.c,v 1.19 1997/02/22 09:40:42 peter Exp $
*/
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/proc.h>
-#include <sys/file.h>
+#include <sys/fcntl.h>
#include <sys/time.h>
#include <sys/stat.h>
#include <sys/types.h>
OpenPOWER on IntegriCloud