aboutsummaryrefslogtreecommitdiffstats
path: root/src/ncmpc.h
diff options
context:
space:
mode:
authorKalle Wallin <kaw@linux.se>2004-06-07 21:29:10 +0000
committerKalle Wallin <kaw@linux.se>2004-06-07 21:29:10 +0000
commita71d278498ffef2051c8430dd67795a157b8290e (patch)
tree62759842fd8e8444b423436c3cce76d7c833901d /src/ncmpc.h
parent77c69999a63e6b999814cb39c35bb4d30646c145 (diff)
downloadmpd-a71d278498ffef2051c8430dd67795a157b8290e.tar.gz
mpd-a71d278498ffef2051c8430dd67795a157b8290e.tar.xz
mpd-a71d278498ffef2051c8430dd67795a157b8290e.zip
Disable nls support if glib is pre 2.4 (OSX)
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1379 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--src/ncmpc.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ncmpc.h b/src/ncmpc.h
index bc6c9136a..2708aac50 100644
--- a/src/ncmpc.h
+++ b/src/ncmpc.h
@@ -12,8 +12,10 @@
#endif
/* i18n */
-#ifdef ENABLE_NLS
+#ifdef HAVE_LOCALE_H
#include <locale.h>
+#endif
+#ifdef ENABLE_NLS
#include <libintl.h>
#include <glib/gi18n.h>
#else