ncurses: fix build error in libncursesw
[openwrt-github/.git] / package / libs / ncurses / patches / 200-fix_missing_include.patch
1 --- a/ncurses/curses.priv.h
2 +++ b/ncurses/curses.priv.h
3 @@ -54,6 +54,10 @@ extern "C" {
4  
5  #include <ncurses_cfg.h>
6  
7 +#if NEED_WCHAR_H
8 +#include <wchar.h>
9 +#endif
10 +
11  #if USE_RCS_IDS
12  #define MODULE_ID(id) static const char Ident[] = id;
13  #else