diff options
| author | Andrey A. Chernov <ache@FreeBSD.org> | 1995-10-24 05:18:36 +0000 |
|---|---|---|
| committer | Andrey A. Chernov <ache@FreeBSD.org> | 1995-10-24 05:18:36 +0000 |
| commit | eb1d32b9a31740f993c180baee4709fc43bf2196 (patch) | |
| tree | 462dfe97c855c1c7e7a86fa4a743d1b452d77161 /usr.bin/more | |
| parent | 238d3ffda9aabebb92607e2ec80a595b78477e99 (diff) | |
Notes
Diffstat (limited to 'usr.bin/more')
| -rw-r--r-- | usr.bin/more/main.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/usr.bin/more/main.c b/usr.bin/more/main.c index f019bdca81d3..852b1f86cc81 100644 --- a/usr.bin/more/main.c +++ b/usr.bin/more/main.c @@ -50,7 +50,9 @@ static char sccsid[] = "@(#)main.c 8.1 (Berkeley) 6/7/93"; #include <sys/types.h> #include <sys/file.h> #include <stdio.h> -#include <less.h> +#include <stdlib.h> +#include <locale.h> +#include "less.h" int ispipe; int new_file; @@ -250,7 +252,9 @@ main(argc, argv) char **argv; { int envargc, argcnt; - char *envargv[2], *getenv(); + char *envargv[2]; + + (void) setlocale(LC_CTYPE, ""); /* * Process command line arguments and MORE environment arguments. |
