summaryrefslogtreecommitdiffstats
path: root/sys/kern/vfs_vnops.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1997-03-24 11:52:29 +0000
committerbde <bde@FreeBSD.org>1997-03-24 11:52:29 +0000
commita0d9474a34143dc9663d6ae183a89674c91bf90e (patch)
treef33a7dd82dcb9260a05b5f0fca34ee03fbe645ec /sys/kern/vfs_vnops.c
parentf62eb55e940cabd9e329f3c32c6c592554ad6354 (diff)
downloadFreeBSD-src-a0d9474a34143dc9663d6ae183a89674c91bf90e.zip
FreeBSD-src-a0d9474a34143dc9663d6ae183a89674c91bf90e.tar.gz
Don't include <sys/ioctl.h> in the kernel. Stage 4: include
<sys/ttycom.h> and sometimes <sys/filio.h> instead of <sys/ioctl.h> in miscellaneous files. Most of these files have nothing to do with ttys but need to include <sys/ttycom.h> to get the definitions of TIOC[SG]PGRP which are (ab)used to convert F[SG]ETOWN fcntls into ioctls.
Diffstat (limited to 'sys/kern/vfs_vnops.c')
-rw-r--r--sys/kern/vfs_vnops.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/kern/vfs_vnops.c b/sys/kern/vfs_vnops.c
index 431913f..cb6c932 100644
--- a/sys/kern/vfs_vnops.c
+++ b/sys/kern/vfs_vnops.c
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)vfs_vnops.c 8.2 (Berkeley) 1/21/94
- * $Id: vfs_vnops.c,v 1.32 1997/03/08 15:14:30 guido Exp $
+ * $Id: vfs_vnops.c,v 1.33 1997/03/23 03:36:38 bde Exp $
*/
#include <sys/param.h>
@@ -50,7 +50,8 @@
#include <sys/mount.h>
#include <sys/namei.h>
#include <sys/vnode.h>
-#include <sys/ioctl.h>
+#include <sys/filio.h>
+#include <sys/ttycom.h>
#include <vm/vm.h>
#include <vm/vm_param.h>
OpenPOWER on IntegriCloud