diff --git a/loginutils/getty.c b/loginutils/getty.c index 9950988f4..d123d4965 100644 --- a/loginutils/getty.c +++ b/loginutils/getty.c @@ -25,7 +25,9 @@ #include #include #include +#ifdef CONFIG_FEATURE_UTMP #include +#endif #include #include #include "busybox.h" @@ -260,7 +262,11 @@ int getty_main(int argc, char **argv) _PATH_LOGIN, /* default login program */ "tty1", /* default tty line */ "", /* modem init string */ +#ifdef ISSUE ISSUE, /* default issue file */ +#else + NULL, +#endif 0, /* no baud rates known yet */ };