From: Florian Fainelli Date: Tue, 26 Feb 2013 16:40:07 +0000 (+0000) Subject: ncurses: fix build with musl libc toolchains X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=bfcbabdf159f291f98683d802bff519781cb4fd9;p=openwrt%2Fstaging%2Frobimarko.git ncurses: fix build with musl libc toolchains Signed-off-by: Florian Fainelli SVN-Revision: 35811 --- diff --git a/package/libs/ncurses/patches/200-fix_missing_include.patch b/package/libs/ncurses/patches/200-fix_missing_include.patch index ad563930d2..c5d48d4ddc 100644 --- a/package/libs/ncurses/patches/200-fix_missing_include.patch +++ b/package/libs/ncurses/patches/200-fix_missing_include.patch @@ -1,10 +1,11 @@ --- a/ncurses/curses.priv.h +++ b/ncurses/curses.priv.h -@@ -54,6 +54,10 @@ extern "C" { +@@ -54,6 +54,11 @@ extern "C" { #include +#if NEED_WCHAR_H ++#include +#include +#endif +