diff --git a/src/charset.h b/src/charset.h
index 0cb69d135bece726bb9077d3e10f862b65843016..4dfe13f3f19f28b490cf73cb8aeba9aa03886c5a 100644 (file)
--- a/src/charset.h
+++ b/src/charset.h
#include <stdbool.h>
#include <stddef.h>
-#ifdef HAVE_LOCALE_H
+#if defined(HAVE_LOCALE_H) && !defined(NCMPC_MINI)
const char *
charset_init(void);
#endif