ncurses: fix build error in libncursesw
authorFelix Fietkau <nbd@openwrt.org>
Mon, 17 Dec 2012 15:11:47 +0000 (15:11 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 17 Dec 2012 15:11:47 +0000 (15:11 +0000)
SVN-Revision: 34739

package/libs/ncurses/patches/200-fix_missing_include.patch [new file with mode: 0644]

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 (file)
index 0000000..ad56393
--- /dev/null
@@ -0,0 +1,13 @@
+--- a/ncurses/curses.priv.h
++++ b/ncurses/curses.priv.h
+@@ -54,6 +54,10 @@ extern "C" {
+ #include <ncurses_cfg.h>
++#if NEED_WCHAR_H
++#include <wchar.h>
++#endif
++
+ #if USE_RCS_IDS
+ #define MODULE_ID(id) static const char Ident[] = id;
+ #else