Subject: fix usage of cchar_t
--- a/lib/tty/tty-ncurses.h	2021-01-23 02:50:51.458002969 +0200
+++ b/lib/tty/tty-ncurses.h	2021-01-23 02:42:49.203049070 +0200
@@ -3,6 +3,7 @@
 #define MC__TTY_NCURSES_H
 
 #ifdef USE_NCURSES
+#define _XOPEN_SOURCE_EXTENDED
 #ifdef HAVE_NCURSES_CURSES_H
 #include <ncurses/curses.h>
 #elif defined (HAVE_NCURSES_NCURSES_H)
