aboutsummaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1997-11-18 12:59:09 +0000
committerBruce Evans <bde@FreeBSD.org>1997-11-18 12:59:09 +0000
commit1fe5398ce7b35c82d7f0844ed86422b7db08a219 (patch)
tree632c2c72b06f7446bc6a726675392cae64022ce7 /sys/kern
parentb7f5d5b54dd46c1f8848b14a183c6167e8228ba4 (diff)
downloadsrc-1fe5398ce7b35c82d7f0844ed86422b7db08a219.tar.gz
src-1fe5398ce7b35c82d7f0844ed86422b7db08a219.zip
Get tty ioctl numbers by #including <sys/ttycom.h> instead of
<sys/tty.h>. Don't #include <sys/fcntl.h> (the select -> poll changes removed all dependencies on it).
Notes
Notes: svn path=/head/; revision=31262
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/tty_tty.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/kern/tty_tty.c b/sys/kern/tty_tty.c
index ee6172e7a0de..67e7a2aa4628 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: tty_tty.c,v 1.18 1997/09/14 02:40:46 peter Exp $
+ * $Id: tty_tty.c,v 1.19 1997/09/16 11:43:35 bde Exp $
*/
/*
@@ -41,9 +41,8 @@
#include <sys/systm.h>
#include <sys/conf.h>
#include <sys/proc.h>
-#include <sys/tty.h>
+#include <sys/ttycom.h>
#include <sys/vnode.h>
-#include <sys/fcntl.h>
#include <sys/kernel.h>
#ifdef DEVFS
#include <sys/devfsext.h>