summaryrefslogtreecommitdiff
path: root/sys-libs/ncurses/files/ncurses-5.7-nongnu.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sys-libs/ncurses/files/ncurses-5.7-nongnu.patch')
-rw-r--r--sys-libs/ncurses/files/ncurses-5.7-nongnu.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/sys-libs/ncurses/files/ncurses-5.7-nongnu.patch b/sys-libs/ncurses/files/ncurses-5.7-nongnu.patch
new file mode 100644
index 00000000..3f4a4052
--- /dev/null
+++ b/sys-libs/ncurses/files/ncurses-5.7-nongnu.patch
@@ -0,0 +1,11 @@
+--- ncurses-5.7/ncurses/curses.priv.h
++++ ncurses-5.7/ncurses/curses.priv.h
+@@ -1452,6 +1452,8 @@ extern NCURSES_EXPORT(void) _nc_expanded
+
+ /* charable.c */
+ #if USE_WIDEC_SUPPORT
++#include <wchar.h>
++
+ extern NCURSES_EXPORT(bool) _nc_is_charable(wchar_t);
+ extern NCURSES_EXPORT(int) _nc_to_char(wint_t);
+ extern NCURSES_EXPORT(wint_t) _nc_to_widechar(int);