mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 15:32:33 +00:00
1ef0be3e5b
This reverts commit 4fb684a755
.
The compile fixes are still required for host systems using GCC 5.x,
such as Ubuntu 16.04 LTS.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
15 lines
266 B
Diff
15 lines
266 B
Diff
--- a/ncurses/curses.priv.h
|
|
+++ b/ncurses/curses.priv.h
|
|
@@ -55,6 +55,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
|