From: LaMont Jones Date: Mon, 9 Jul 2007 20:46:40 +0000 (-0600) Subject: only include vt.h et al if we're using that code X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=32141a9c68b606e7fbfe1ea83a17a213baebf5ff;p=util-linux only include vt.h et al if we're using that code --- 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;