diff options
-rw-r--r-- | usr.sbin/pcvt/vttest/Makefile | 2 | ||||
-rw-r--r-- | usr.sbin/pcvt/vttest/esc.c | 1 | ||||
-rw-r--r-- | usr.sbin/pcvt/vttest/header.h | 2 |
3 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/pcvt/vttest/Makefile b/usr.sbin/pcvt/vttest/Makefile index be344b2..f5d6e7b 100644 --- a/usr.sbin/pcvt/vttest/Makefile +++ b/usr.sbin/pcvt/vttest/Makefile @@ -3,6 +3,6 @@ PROG= vttest SRCS= main.c esc.c -CFLAGS+= -traditional -DUSEMYSTTY +CFLAGS+= -DUSEMYSTTY .include <bsd.prog.mk> diff --git a/usr.sbin/pcvt/vttest/esc.c b/usr.sbin/pcvt/vttest/esc.c index e52cef2..21baa97 100644 --- a/usr.sbin/pcvt/vttest/esc.c +++ b/usr.sbin/pcvt/vttest/esc.c @@ -1,4 +1,3 @@ -#include <unistd.h> #include "header.h" #ifndef lint diff --git a/usr.sbin/pcvt/vttest/header.h b/usr.sbin/pcvt/vttest/header.h index 300564a..ae1ccaf 100644 --- a/usr.sbin/pcvt/vttest/header.h +++ b/usr.sbin/pcvt/vttest/header.h @@ -1,3 +1,4 @@ +/* $FreeBSD$ */ #define VERSION "1.7b 1985-04-19" /* Choose one of these */ @@ -31,6 +32,7 @@ #include <sgtty.h> #include <signal.h> #include <setjmp.h> +#include <unistd.h> jmp_buf intrenv; struct sgttyb sgttyOrg, sgttyNew; char stdioBuf[BUFSIZ]; |