diff --git a/src/charset.h b/src/charset.h
index 70173d19c0ee00b070288370bbfb36df6e9e4b40..0cb69d135bece726bb9077d3e10f862b65843016 100644 (file)
--- a/src/charset.h
+++ b/src/charset.h
#ifndef CHARSET_H
#define CHARSET_H
+#include "config.h"
+
#include <stdbool.h>
#include <stddef.h>
+#ifdef HAVE_LOCALE_H
const char *
charset_init(void);
+#endif
/**
* Returns the number of terminal cells occupied by this string.