summaryrefslogtreecommitdiff
path: root/sys/kern/vfs_vnops.c
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2018-01-02 06:38:46 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2018-01-02 06:38:46 +0000
commit9af6c8a7de45771bb79724b5f905fc5f59b6f62e (patch)
treef010551408fac3a14d617d6709da5d95313f02a8 /sys/kern/vfs_vnops.c
parenta2104963fbd9fdcae1c039cff75f922f316d0137 (diff)
Stop assuming <sys/file.h> will pull in fcntl.h when _KERNEL is defined.
ok millert@ sthen@
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 d6a8159b33f..1c265465129 100644
--- a/sys/kern/vfs_vnops.c
+++ b/sys/kern/vfs_vnops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vfs_vnops.c,v 1.88 2017/08/13 22:08:44 beck Exp $ */
+/* $OpenBSD: vfs_vnops.c,v 1.89 2018/01/02 06:38:45 guenther Exp $ */
/* $NetBSD: vfs_vnops.c,v 1.20 1996/02/04 02:18:41 christos Exp $ */
/*
@@ -41,6 +41,7 @@
#include <sys/systm.h>
#include <sys/kernel.h>
#include <sys/malloc.h>
+#include <sys/fcntl.h>
#include <sys/file.h>
#include <sys/stat.h>
#include <sys/proc.h>