From: Sebastien GODARD Date: Mon, 28 Nov 2016 16:49:27 +0000 (+0100) Subject: Fix #134: Include to define setlocale() function X-Git-Tag: v11.5.3~4 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0029dad34b2f946af1f07167397c86af2670664a;p=sysstat Fix #134: Include to define setlocale() function iostat and mpstat needs to include locale.h file to define setlocale() function and LC_NUMERIC variable name. Signed-off-by: Sebastien GODARD --- diff --git a/iostat.c b/iostat.c index 9f07677..e7828a3 100644 --- a/iostat.c +++ b/iostat.c @@ -40,8 +40,8 @@ #include "rd_stats.h" #include "count.h" +#include /* For setlocale() */ #ifdef USE_NLS -#include #include #define _(string) gettext(string) #else diff --git a/mpstat.c b/mpstat.c index 942374c..80a390c 100644 --- a/mpstat.c +++ b/mpstat.c @@ -34,8 +34,8 @@ #include "rd_stats.h" #include "count.h" +#include /* For setlocale() */ #ifdef USE_NLS -#include #include #define _(string) gettext(string) #else