From: Felix Fietkau Date: Mon, 17 Dec 2012 15:11:47 +0000 (+0000) Subject: ncurses: fix build error in libncursesw X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ba2286296e51baa90eb95f75f0a4e4b76bec3b0f;p=openwrt%2Fstaging%2Fthess.git ncurses: fix build error in libncursesw SVN-Revision: 34739 --- diff --git a/package/libs/ncurses/patches/200-fix_missing_include.patch b/package/libs/ncurses/patches/200-fix_missing_include.patch new file mode 100644 index 0000000000..ad563930d2 --- /dev/null +++ b/package/libs/ncurses/patches/200-fix_missing_include.patch @@ -0,0 +1,13 @@ +--- a/ncurses/curses.priv.h ++++ b/ncurses/curses.priv.h +@@ -54,6 +54,10 @@ extern "C" { + + #include + ++#if NEED_WCHAR_H ++#include ++#endif ++ + #if USE_RCS_IDS + #define MODULE_ID(id) static const char Ident[] = id; + #else