diff -u -r ../gtypist-2.9.5/src/utf8.c ./src/utf8.c
--- ../gtypist-2.9.5/src/utf8.c	2013-08-18 14:36:14.000000000 +0000
+++ ./src/utf8.c	2017-07-07 08:32:20.764160765 +0000
@@ -19,6 +19,7 @@
 
 #include "config.h"
 #include "utf8.h"
+#include "error.h"
 
 #ifdef HAVE_PDCURSES
 #include <curses.h>