Download raw body.
[PATCH 1/2] tog: fix widechar ncurses definitions
The ncurses implementation still relies on _XOPEN_SOURCE_EXTENDED being defined in order to expose the widechar variant of ncurses, even on more recent distributed versions. --- tog/tog.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tog/tog.c b/tog/tog.c index 228a76b0..5af8f69f 100644 --- a/tog/tog.c +++ b/tog/tog.c @@ -19,7 +19,9 @@ #include <ctype.h> #include <errno.h> +#define _XOPEN_SOURCE_EXTENDED #include <curses.h> +#undef _XOPEN_SOURCE_EXTENDED #include <panel.h> #include <locale.h> #include <signal.h> -- 2.33.0
[PATCH 1/2] tog: fix widechar ncurses definitions