From 647d645f7c9f9d02a4b29d07593471874f56f30d Mon Sep 17 00:00:00 2001 From: Michael Toy Date: Fri, 30 Jan 1981 01:04:56 -0800 Subject: [PATCH] ditto SCCS-vsn: sys/kern/tty_pty.c 4.4 --- usr/src/sys/kern/tty_pty.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/usr/src/sys/kern/tty_pty.c b/usr/src/sys/kern/tty_pty.c index 23cfc9d244..af2bc02159 100644 --- a/usr/src/sys/kern/tty_pty.c +++ b/usr/src/sys/kern/tty_pty.c @@ -1,9 +1,13 @@ -/* tty_pty.c 4.3 %G% */ +/* tty_pty.c 4.4 %G% */ /* * Pseudo-teletype Driver * (Actually two drivers, requiring two entries in 'cdevsw') */ +#include "pty.h" + +#if WANTPTY > 0 + #include "../h/param.h" #include "../h/systm.h" #include "../h/tty.h" @@ -11,9 +15,6 @@ #include "../h/user.h" #include "../h/conf.h" #include "../h/buf.h" -#include "../pty.h" - -#if WANTPTY > 0 #define NPTY 16 /* Number of pseudo-teletypes */ #define BUFSIZ 100 /* Chunk size iomoved from user */ -- 2.20.1