From 7b9b0c8d18adc0727835128f23546b1b7f02727d Mon Sep 17 00:00:00 2001 From: Jim Warner Date: Thu, 3 Nov 2011 05:37:10 -0500 Subject: [PATCH] free: added remaining missing nls support --- free.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/free.c b/free.c index 91e13de9..6fb183e4 100644 --- a/free.c +++ b/free.c @@ -11,11 +11,13 @@ * Copyright 2003 Robert Love * Copyright 2004 Albert Cahalan */ + #include "proc/sysinfo.h" #include "proc/version.h" #include "c.h" #include "nls.h" +#include #include #include #include @@ -204,6 +206,10 @@ int main(int argc, char **argv) args.repeat_interval = 1000000; args.repeat_counter = 0; + setlocale (LC_ALL, ""); + bindtextdomain(PACKAGE, LOCALEDIR); + textdomain(PACKAGE); + while ((c = getopt_long(argc, argv, "bkmghlotc:s:V", longopts, NULL)) != -1) switch (c) { case 'b': -- 2.40.0