diff options
-rw-r--r-- | usr.bin/m4/main.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.bin/m4/main.c b/usr.bin/m4/main.c index a1cf0657638d..1c1ac45d1eda 100644 --- a/usr.bin/m4/main.c +++ b/usr.bin/m4/main.c @@ -73,6 +73,7 @@ __FBSDID("$FreeBSD$"); #include <stddef.h> #include <stdlib.h> #include <err.h> +#include <locale.h> #include "mdef.h" #include "stdd.h" #include "extern.h" @@ -182,6 +183,8 @@ main(int argc, char *argv[]) int rval; char *p; + setlocale(LC_ALL, ""); + traceout = stderr; if (signal(SIGINT, SIG_IGN) != SIG_IGN) |