diff --git a/libexec/getty/subr.c b/libexec/getty/subr.c index 571970e97808..607fd3836ac0 100644 --- a/libexec/getty/subr.c +++ b/libexec/getty/subr.c @@ -46,6 +46,7 @@ static char sccsid[] = "@(#)subr.c 5.10 (Berkeley) 2/26/91"; /* * Melbourne getty. */ +#include #define USE_OLD_TTY #include #include @@ -303,7 +304,7 @@ adelay(ms, dp) return (dp->bits); } -char editedhost[32]; +char editedhost[MAXHOSTNAMELEN]; edithost(pat) register char *pat;