aboutsummaryrefslogtreecommitdiffstats
path: root/main/mc/fix-cchar_t.patch
blob: 7d7635d54f112e51e5749a69d106fce1a2a3a4bc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
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)