aboutsummaryrefslogtreecommitdiffstats
path: root/package/libs/ncurses/patches/200-fix_missing_include.patch
blob: 3c4a0d13a7fd84a725374f19dc0aea2514ac12f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- 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