libbsddialog: Add _XOPEN_SOURCE_EXTENDED for widechar form

Add _XOPEN_SOURCE_EXTENDED to use curses' get_wch() and to avoid a
building error after next "bsddialog 0.2" import.

Approved by:		bapt (mentor)
Differential Revision:	https://reviews.freebsd.org/D34419
This commit is contained in:
Alfonso S. Siciliano 2022-03-05 02:20:37 +01:00
parent 075e2779ac
commit d746ab215c
No known key found for this signature in database
GPG Key ID: 3F9EEFACFD371E37

View File

@ -22,6 +22,7 @@ INCS= bsddialog.h \
MAN= bsddialog.3
LIBADD= ncursesw tinfow formw
CFLAGS+= -D_XOPEN_SOURCE_EXTENDED
WARNS= 2