summaryrefslogtreecommitdiffstats
path: root/sys/kern/vfs_vnops.c
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/kern/vfs_vnops.c
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/kern/vfs_vnops.c')
-rw-r--r--sys/kern/vfs_vnops.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/vfs_vnops.c b/sys/kern/vfs_vnops.c
index 31d2c23..431913f 100644
--- a/sys/kern/vfs_vnops.c
+++ b/sys/kern/vfs_vnops.c
@@ -36,12 +36,13 @@
* SUCH DAMAGE.
*
* @(#)vfs_vnops.c 8.2 (Berkeley) 1/21/94
- * $Id: vfs_vnops.c,v 1.31 1997/03/07 07:42:41 gpalmer Exp $
+ * $Id: vfs_vnops.c,v 1.32 1997/03/08 15:14:30 guido Exp $
*/
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>
+#include <sys/fcntl.h>
#include <sys/file.h>
#include <sys/stat.h>
#include <sys/buf.h>
OpenPOWER on IntegriCloud