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