Openwrt/package/libs/ncurses/patches/200-fix_missing_include.patch
DENG Qingfang a017773a92 ncurses: update to 6.2
Update ncurses to 6.2

Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
2020-03-05 20:48:58 +01:00

15 lines
266 B
Diff

--- a/ncurses/curses.priv.h
+++ b/ncurses/curses.priv.h
@@ -56,6 +56,11 @@ extern "C" {
#include <ncurses_cfg.h>
+#if NEED_WCHAR_H
+#include <stdarg.h>
+#include <wchar.h>
+#endif
+
#if USE_RCS_IDS
#define MODULE_ID(id) static const char Ident[] = id;
#else