From 32141a9c68b606e7fbfe1ea83a17a213baebf5ff Mon Sep 17 00:00:00 2001 From: LaMont Jones Date: Mon, 9 Jul 2007 14:46:40 -0600 Subject: [PATCH] only include vt.h et al if we're using that code --- login-utils/agetty.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/login-utils/agetty.c b/login-utils/agetty.c index 390e65b9..806c3d98 100644 --- a/login-utils/agetty.c +++ b/login-utils/agetty.c @@ -30,8 +30,6 @@ #include #include #include -#include -#include #include #include #include @@ -696,6 +694,8 @@ open_tty(tty, tp, local) #if 0 if (strncmp(tty,"tty",3) == 0) { +#include +#include char *end; int vtno; -- 2.39.5