You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openwrt/package/libs/ncurses/patches/200-fix_missing_include.patch

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