diff --git a/usr.bin/wall/wall.c b/usr.bin/wall/wall.c index 4351888c9c4..12c4387d605 100644 --- a/usr.bin/wall/wall.c +++ b/usr.bin/wall/wall.c @@ -51,6 +51,7 @@ static char sccsid[] = "@(#)wall.c 8.2 (Berkeley) 11/16/93"; #include #include +#include #include #include #include @@ -81,6 +82,8 @@ main(argc, argv) char *p, *ttymsg(); char line[sizeof(utmp.ut_line) + 1]; + (void)setlocale(LC_CTYPE, ""); + while ((ch = getopt(argc, argv, "n")) != -1) switch (ch) { case 'n':