On Tue, Apr 10, 2018 at 01:36:31PM +0100, Patrick Steinhardt wrote: > The header <ncursesw/ncurses.h> defines the get_wch(3) function only > when `NCURSES_WIDECHAR` is defined. This define is actually getting set Oh, ncurses saga continues... why someone has to define NCURSES_WIDECHAR when use ncursesw/ (wide-char!) directory ? > in the same header file, but only in case `_XOPEN_SOURCE` is defined and > has a value of 500 or higher. As we already have the precedence of > defining `_XOPEN_SOURCE` to a value of 600 in some other files, simply > define it to the minimum required value of 500 in "cfdisk.c". This > silences a warning for `get_wch` being unknown. OK, I'll apply the patch. Thanks. Karel -- Karel Zak <kzak@xxxxxxxxxx> http://karelzak.blogspot.com -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html