diff --git a/src/charset.h b/src/charset.h
index e5a9e957db2713e6467f978fc5b57511042cf824..d1b3f75e3676e9d87ae87e15942bf35ffd78b3e0 100644 (file)
--- a/src/charset.h
+++ b/src/charset.h
#include "config.h"
+#include <glib.h>
+
#include <stdbool.h>
-#include <stddef.h>
#ifdef ENABLE_LOCALE
const char *
/**
* Returns the number of terminal cells occupied by this string.
*/
+G_GNUC_PURE
unsigned
utf8_width(const char *str);