diff --git a/src/charset.c b/src/charset.c
index a0e8bbda4dca3fb07ff55f05d622274502361f6a..69e15eb6e042b6047ac52bbec4be8a6f8041e51a 100644 (file)
--- a/src/charset.c
+++ b/src/charset.c
#include <string.h>
#include <glib.h>
-#ifdef HAVE_LOCALE_H
+#if defined(HAVE_LOCALE_H) && !defined(NCMPC_MINI)
static bool noconvert = true;
static const char *charset;
char *
utf8_to_locale(const char *utf8str)
{
-#ifdef HAVE_LOCALE_H
+#if defined(HAVE_LOCALE_H) && !defined(NCMPC_MINI)
gchar *str;
assert(utf8str != NULL);
char *
locale_to_utf8(const char *localestr)
{
-#ifdef HAVE_LOCALE_H
+#if defined(HAVE_LOCALE_H) && !defined(NCMPC_MINI)
gchar *str;
assert(localestr != NULL);