aboutsummaryrefslogtreecommitdiffstats
path: root/package/libs/ncurses/patches
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
commitd28fdf7e932a5907804c98b064cc8707e07d04de (patch)
tree297a0b6749fae45cd24db2e08dbbb368af3a64ae /package/libs/ncurses/patches
parent68e9783897735ca522b5c728522323b8fd035886 (diff)
downloadupstream-d28fdf7e932a5907804c98b064cc8707e07d04de.tar.gz
upstream-d28fdf7e932a5907804c98b064cc8707e07d04de.tar.bz2
upstream-d28fdf7e932a5907804c98b064cc8707e07d04de.zip
ncurses: fix build error in libncursesw
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34739 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/libs/ncurses/patches')
-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 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 <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