diff options
author | Jo-Philipp Wich <jo@mein.io> | 2018-04-04 17:07:26 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2018-04-04 17:08:10 +0200 |
commit | 1ef0be3e5bf6581b5668a99f2c07e3e2689f50ba (patch) | |
tree | 7c51f3a9250b3907997bdfbf5a6470084df6db4b /package/libs/ncurses/patches/200-fix_missing_include.patch | |
parent | 58fe5279318b0bcc398ea5bde68db4ce204daa8b (diff) | |
download | mtk-20170518-1ef0be3e5bf6581b5668a99f2c07e3e2689f50ba.zip mtk-20170518-1ef0be3e5bf6581b5668a99f2c07e3e2689f50ba.tar.gz mtk-20170518-1ef0be3e5bf6581b5668a99f2c07e3e2689f50ba.tar.bz2 |
Revert "ncurses: Remove obsolete compile fixes"
This reverts commit 4fb684a7558ea5c11580378be062f73da07f8479.
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>
Diffstat (limited to 'package/libs/ncurses/patches/200-fix_missing_include.patch')
-rw-r--r-- | package/libs/ncurses/patches/200-fix_missing_include.patch | 14 |
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..4616c4f --- /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 +@@ -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 |