From 9566348d5cac067df8b0ebdb1fa7d496f92015c1 Mon Sep 17 00:00:00 2001 From: "Andrey A. Chernov" Date: Tue, 13 May 1997 11:30:01 +0000 Subject: [PATCH] Localize it --- usr.bin/wall/wall.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/usr.bin/wall/wall.c b/usr.bin/wall/wall.c index 4351888c9c4f..12c4387d6055 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':