diff --git a/src/daemon/gnuserv.c b/src/daemon/gnuserv.c index 6965946b..8af908bb 100644 --- a/src/daemon/gnuserv.c +++ b/src/daemon/gnuserv.c @@ -43,6 +43,7 @@ #include #include +#include #include "daemon.h" @@ -473,6 +474,8 @@ main (int argc, char **argv) int ils = -1; /* internet domain listen socket */ + setlocale (LC_ALL, ""); + /* On non-glibc systems, this is not set up for us. */ if (!program_invocation_name) { char *arg;