Revert "ncurses: Remove obsolete compile fixes"

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>
This commit is contained in:
Jo-Philipp Wich
2018-04-04 17:07:26 +02:00
parent 58fe527931
commit 1ef0be3e5b
2 changed files with 58 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
--- 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