aboutsummaryrefslogtreecommitdiffstats
path: root/src/charset.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/charset.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/charset.h b/src/charset.h
index 70173d19c..0cb69d135 100644
--- a/src/charset.h
+++ b/src/charset.h
@@ -20,11 +20,15 @@
#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.