From: Quentin Rameau Subject: [PATCH 1/2] tog: fix widechar ncurses definitions To: gameoftrees@openbsd.org Date: Sun, 19 Sep 2021 13:51:19 +0200 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 #include +#define _XOPEN_SOURCE_EXTENDED #include +#undef _XOPEN_SOURCE_EXTENDED #include #include #include -- 2.33.0