3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/ncurses/wint_t.patch

15 lines
495 B
Diff
Raw Normal View History

http://www.mail-archive.com/freewrt-developers@freewrt.org/msg01326.html
--- ncurses-5.6.orig/ncurses/curses.priv.h 2006-12-10 01:55:14.000000000 0100
+++ ncurses-5.6/ncurses/curses.priv.h 2008-02-11 13:12:04.000000000 +0100
@@ -253,6 +253,10 @@ color_t;
#include <term_entry.h>
#include <nc_tparm.h>
+#ifndef _WINT_T
+#include <wchar.h>
+#endif
+
#if NCURSES_EXT_COLORS && USE_WIDEC_SUPPORT
#define if_EXT_COLORS(stmt) stmt
#define NetPair(value,p) (value).ext_color = (p), \