diff --git a/usr.bin/split/split.c b/usr.bin/split/split.c index c49a1de77a41..ca3847c5c965 100644 --- a/usr.bin/split/split.c +++ b/usr.bin/split/split.c @@ -52,6 +52,7 @@ static const char sccsid[] = "@(#)split.c 8.2 (Berkeley) 4/16/94"; #include #include #include +#include #include #include #include @@ -85,6 +86,8 @@ main(int argc, char **argv) int ch; char *ep, *p; + setlocale(LC_ALL, ""); + while ((ch = getopt(argc, argv, "-0123456789a:b:l:p:")) != -1) switch (ch) { case '0': case '1': case '2': case '3': case '4':