aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/tty_tty.c
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1997-03-23 03:37:54 +0000
committerBruce Evans <bde@FreeBSD.org>1997-03-23 03:37:54 +0000
commit3ac4d1ef0cb63052d971dfb2c6ec0cfc0936bdce (patch)
treed5362cd33818510de25aca3387c5ff2e95430292 /sys/kern/tty_tty.c
parentc5d593ae63737614194288420e647f53edbf5727 (diff)
downloadsrc-3ac4d1ef0cb63052d971dfb2c6ec0cfc0936bdce.tar.gz
src-3ac4d1ef0cb63052d971dfb2c6ec0cfc0936bdce.zip
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.
Notes
Notes: svn path=/head/; revision=24131
Diffstat (limited to 'sys/kern/tty_tty.c')
-rw-r--r--sys/kern/tty_tty.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/tty_tty.c b/sys/kern/tty_tty.c
index 40e5baf16e7f..b1acc2624294 100644
--- a/sys/kern/tty_tty.c
+++ b/sys/kern/tty_tty.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)tty_tty.c 8.2 (Berkeley) 9/23/93
- * $Id$
+ * $Id: tty_tty.c,v 1.14 1997/02/22 09:39:27 peter Exp $
*/
/*
@@ -44,7 +44,7 @@
#include <sys/proc.h>
#include <sys/tty.h>
#include <sys/vnode.h>
-#include <sys/file.h>
+#include <sys/fcntl.h>
#include <sys/kernel.h>
#ifdef DEVFS
#include <sys/devfsext.h>