aboutsummaryrefslogtreecommitdiffstats
path: root/src/path.c
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-05-23 15:08:13 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-05-23 15:08:13 +0000
commitdaeaccca155541ad3511f3f606a537c3f40a0686 (patch)
treed30f040d517c2d1d818fbd7a54add933e345b91a /src/path.c
parent3ac22ac7ea2e4df156ca9e8d23f16993099fd582 (diff)
downloadmpd-daeaccca155541ad3511f3f606a537c3f40a0686.tar.gz
mpd-daeaccca155541ad3511f3f606a537c3f40a0686.tar.xz
mpd-daeaccca155541ad3511f3f606a537c3f40a0686.zip
various bugfixes for 0.10.4
git-svn-id: https://svn.musicpd.org/mpd/branches/branch-0.10.3@1143 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/path.c')
-rw-r--r--src/path.c4
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;