Fix the curses probe with older ncurses (.e.g. 5.7, as used by OpenBSD). ncurses 5.7 requires _XOPEN_SOURCE_EXTENDED to be defined for WACS_* constants.
Signed-off-by: Brad Smith <b...@comstyle.com> diff --git a/configure b/configure index 0c6e7572db..9715b9c2cc 100755 --- a/configure +++ b/configure @@ -3186,7 +3186,7 @@ EOF IFS=: for curses_inc in $curses_inc_list; do # Make sure we get the wide character prototypes - curses_inc="-DNCURSES_WIDECHAR $curses_inc" + curses_inc="-DNCURSES_WIDECHAR -D_XOPEN_SOURCE_EXTENDED $curses_inc" IFS=: for curses_lib in $curses_lib_list; do unset IFS