summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1997-11-18 12:59:09 +0000
committerbde <bde@FreeBSD.org>1997-11-18 12:59:09 +0000
commitac8e352bef857ded5e90e17b152de53bf46bd578 (patch)
treed63a370568df0edad73b5a2e3a3f6cdfc13f8fd4 /sys
parent69969b08fed38b5ded514825b6e3a2094abdf5fb (diff)
downloadFreeBSD-src-ac8e352bef857ded5e90e17b152de53bf46bd578.zip
FreeBSD-src-ac8e352bef857ded5e90e17b152de53bf46bd578.tar.gz
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).
Diffstat (limited to 'sys')
-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 ee6172e..67e7a2a 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>
OpenPOWER on IntegriCloud