summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-12-17 15:11:47 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-12-17 15:11:47 +0000
commitba2286296e51baa90eb95f75f0a4e4b76bec3b0f (patch)
tree54de941daf63d2cf03a28e7b7e613405b7fc9f84
parente1e00aed52e42254537af0e1bf9a3ef5ac19ef85 (diff)
downloadmtk-20170518-ba2286296e51baa90eb95f75f0a4e4b76bec3b0f.zip
mtk-20170518-ba2286296e51baa90eb95f75f0a4e4b76bec3b0f.tar.gz
mtk-20170518-ba2286296e51baa90eb95f75f0a4e4b76bec3b0f.tar.bz2
ncurses: fix build error in libncursesw
SVN-Revision: 34739
-rw-r--r--package/libs/ncurses/patches/200-fix_missing_include.patch13
1 files changed, 13 insertions, 0 deletions
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 0000000..ad56393
--- /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 <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