diff --git a/fc-cache/fc-cache.c b/fc-cache/fc-cache.c index dc93c19..87e3020 100644 --- a/fc-cache/fc-cache.c +++ b/fc-cache/fc-cache.c @@ -41,6 +41,7 @@ #include #include #include +#include #if defined (_WIN32) #define STRICT @@ -302,6 +303,7 @@ main (int argc, char **argv) #if HAVE_GETOPT_LONG || HAVE_GETOPT int c; + setlocale (LC_ALL, ""); #if HAVE_GETOPT_LONG while ((c = getopt_long (argc, argv, "Efrsy:Vvh", longopts, NULL)) != -1) #else diff --git a/fc-cat/fc-cat.c b/fc-cat/fc-cat.c index dfe30d7..69611bc 100644 --- a/fc-cat/fc-cat.c +++ b/fc-cat/fc-cat.c @@ -40,6 +40,7 @@ #include #include #include +#include #ifdef ENABLE_NLS #include @@ -271,6 +272,7 @@ main (int argc, char **argv) #if HAVE_GETOPT_LONG || HAVE_GETOPT int c; + setlocale (LC_ALL, ""); #if HAVE_GETOPT_LONG while ((c = getopt_long (argc, argv, "Vvrh", longopts, NULL)) != -1) #else diff --git a/fc-list/fc-list.c b/fc-list/fc-list.c index 5cded50..2039acd 100644 --- a/fc-list/fc-list.c +++ b/fc-list/fc-list.c @@ -27,6 +27,7 @@ #include #include #include +#include #ifdef HAVE_CONFIG_H #include #else @@ -117,6 +118,7 @@ main (int argc, char **argv) #if HAVE_GETOPT_LONG || HAVE_GETOPT int c; + setlocale (LC_ALL, ""); #if HAVE_GETOPT_LONG while ((c = getopt_long (argc, argv, "vbf:qVh", longopts, NULL)) != -1) #else diff --git a/fc-match/fc-match.c b/fc-match/fc-match.c index 7902707..dee6147 100644 --- a/fc-match/fc-match.c +++ b/fc-match/fc-match.c @@ -36,6 +36,7 @@ #include #include #include +#include #ifdef ENABLE_NLS #include @@ -121,6 +122,7 @@ main (int argc, char **argv) #if HAVE_GETOPT_LONG || HAVE_GETOPT int c; + setlocale (LC_ALL, ""); #if HAVE_GETOPT_LONG while ((c = getopt_long (argc, argv, "asvbf:Vh", longopts, NULL)) != -1) #else diff --git a/fc-pattern/fc-pattern.c b/fc-pattern/fc-pattern.c index f63761c..7989b81 100644 --- a/fc-pattern/fc-pattern.c +++ b/fc-pattern/fc-pattern.c @@ -36,6 +36,7 @@ #include #include #include +#include #ifdef ENABLE_NLS #include @@ -111,6 +112,7 @@ main (int argc, char **argv) #if HAVE_GETOPT_LONG || HAVE_GETOPT int c; + setlocale (LC_ALL, ""); #if HAVE_GETOPT_LONG while ((c = getopt_long (argc, argv, "cdf:Vh", longopts, NULL)) != -1) #else diff --git a/fc-query/fc-query.c b/fc-query/fc-query.c index 9da090d..fbffb84 100644 --- a/fc-query/fc-query.c +++ b/fc-query/fc-query.c @@ -39,6 +39,7 @@ #include #include #include +#include #ifdef ENABLE_NLS #include @@ -115,6 +116,7 @@ main (int argc, char **argv) #if HAVE_GETOPT_LONG || HAVE_GETOPT int c; + setlocale (LC_ALL, ""); #if HAVE_GETOPT_LONG while ((c = getopt_long (argc, argv, "i:bf:Vh", longopts, NULL)) != -1) #else diff --git a/fc-scan/fc-scan.c b/fc-scan/fc-scan.c index edb967c..9302ac5 100644 --- a/fc-scan/fc-scan.c +++ b/fc-scan/fc-scan.c @@ -39,6 +39,7 @@ #include #include #include +#include #ifdef ENABLE_NLS #include @@ -110,6 +111,7 @@ main (int argc, char **argv) #if HAVE_GETOPT_LONG || HAVE_GETOPT int c; + setlocale (LC_ALL, ""); #if HAVE_GETOPT_LONG while ((c = getopt_long (argc, argv, "bf:Vh", longopts, NULL)) != -1) #else