aboutsummaryrefslogtreecommitdiffstats
path: root/package/libs/ncurses/patches/200-fix_missing_include.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/libs/ncurses/patches/200-fix_missing_include.patch')
-rw-r--r--package/libs/ncurses/patches/200-fix_missing_include.patch14
1 files changed, 14 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 0000000..c5d48d4
--- /dev/null
+++ b/package/libs/ncurses/patches/200-fix_missing_include.patch
@@ -0,0 +1,14 @@
+--- a/ncurses/curses.priv.h
++++ b/ncurses/curses.priv.h
+@@ -54,6 +54,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