diff options
Diffstat (limited to '')
-rw-r--r-- | src/path.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/path.c b/src/path.c index e209b671d..93d1a8c68 100644 --- a/src/path.c +++ b/src/path.c @@ -25,7 +25,7 @@ #include <string.h> #ifdef HAVE_LOCALE -#ifdef HAVE_LANGINFO +#ifdef HAVE_LANGINFO_CODESET #include <locale.h> #include <langinfo.h> #endif @@ -94,7 +94,7 @@ void initPaths() { charset = strdup(getConf()[CONF_FS_CHARSET]); } #ifdef HAVE_LOCALE -#ifdef HAVE_LANGINFO +#ifdef HAVE_LANGINFO_CODESET else if((originalLocale = setlocale(LC_CTYPE,NULL))) { char * temp; char * currentLocale; |