summaryrefslogtreecommitdiffstats
path: root/src/daemon/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/daemon/main.c')
-rw-r--r--src/daemon/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/daemon/main.c b/src/daemon/main.c
index 9b9ea180..b4bc4e00 100644
--- a/src/daemon/main.c
+++ b/src/daemon/main.c
@@ -35,6 +35,7 @@
#include <limits.h>
#include <fcntl.h>
#include <unistd.h>
+#include <locale.h>
#include <sys/types.h>
#include <liboil/liboil.h>
@@ -161,6 +162,8 @@ int main(int argc, char *argv[]) {
struct timeval tv;
#endif
+ setlocale(LC_ALL, "");
+
pa_limit_caps();
#ifdef HAVE_GETUID