From 9114e89b44e79fc8c5d5362231cdba614cdc6a03 Mon Sep 17 00:00:00 2001 From: nbd Date: Mon, 17 Dec 2012 15:11:47 +0000 Subject: ncurses: fix build error in libncursesw git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34739 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/libs/ncurses/patches/200-fix_missing_include.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 package/libs/ncurses/patches/200-fix_missing_include.patch (limited to 'package/libs/ncurses/patches/200-fix_missing_include.patch') 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 -- cgit v1.2.3