summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2013-02-26 16:40:07 +0000
committerFlorian Fainelli <florian@openwrt.org>2013-02-26 16:40:07 +0000
commitbfcbabdf159f291f98683d802bff519781cb4fd9 (patch)
treea8c2afaaa377f51b6df8ee616b27b270282fa139 /package
parentf880c4992dd7f2ff6506e04ccdad984797707f4e (diff)
downloadmtk-20170518-bfcbabdf159f291f98683d802bff519781cb4fd9.zip
mtk-20170518-bfcbabdf159f291f98683d802bff519781cb4fd9.tar.gz
mtk-20170518-bfcbabdf159f291f98683d802bff519781cb4fd9.tar.bz2
ncurses: fix build with musl libc toolchains
Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 35811
Diffstat (limited to 'package')
-rw-r--r--package/libs/ncurses/patches/200-fix_missing_include.patch3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/libs/ncurses/patches/200-fix_missing_include.patch b/package/libs/ncurses/patches/200-fix_missing_include.patch
index ad56393..c5d48d4 100644
--- a/package/libs/ncurses/patches/200-fix_missing_include.patch
+++ b/package/libs/ncurses/patches/200-fix_missing_include.patch
@@ -1,10 +1,11 @@
--- a/ncurses/curses.priv.h
+++ b/ncurses/curses.priv.h
-@@ -54,6 +54,10 @@ extern "C" {
+@@ -54,6 +54,11 @@ extern "C" {
#include <ncurses_cfg.h>
+#if NEED_WCHAR_H
++#include <stdarg.h>
+#include <wchar.h>
+#endif
+