From: Pavel Rochnyack Date: Fri, 12 Jul 2019 12:35:23 +0000 (+0700) Subject: daemon: Recover setlocale() call in src/daemon/collectd.c do_init() X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=78d2308cfb47cefc045e0b5f12b5eb5a8708afaa;p=collectd.git daemon: Recover setlocale() call in src/daemon/collectd.c do_init() 865f2eb31e8264edd9337bc63ac59f6c2fa3b5a7 breaks locale checks Issue: #3181 (cherry picked from commit 38fac5d5579b952f9546623f39cdbcae89a6f090) --- diff --git a/configure.ac b/configure.ac index 2289aa43..ac072b02 100644 --- a/configure.ac +++ b/configure.ac @@ -165,6 +165,7 @@ AC_CHECK_HEADERS_ONCE([ \ kstat.h \ kvm.h \ libgen.h \ + locale.h \ mntent.h \ mnttab.h \ netdb.h \ @@ -758,6 +759,7 @@ AC_CHECK_FUNCS_ONCE([ \ select \ setenv \ setgroups \ + setlocale \ strcasecmp \ strdup \ strncasecmp \