1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-03 01:12:49 +02:00
openwrt-xburst/package/libs/ncurses/patches/200-fix_missing_include.patch
nbd 9114e89b44 ncurses: fix build error in libncursesw
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34739 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-17 15:11:47 +00:00

14 lines
245 B
Diff

--- 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