aboutsummaryrefslogtreecommitdiffstats
path: root/package/libs/ncurses
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
commita147f93282827bfeb2de3b098ce94d020ee613e5 (patch)
tree211ae6d880cf2c942f11c4ece2448c605e73435a /package/libs/ncurses
parent05d6bc87c3ab17a2024b90d68db051457fb71e87 (diff)
downloadupstream-a147f93282827bfeb2de3b098ce94d020ee613e5.tar.gz
upstream-a147f93282827bfeb2de3b098ce94d020ee613e5.tar.bz2
upstream-a147f93282827bfeb2de3b098ce94d020ee613e5.zip
ncurses: fix build with musl libc toolchains
Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35811 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/libs/ncurses')
-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 ad563930d2..c5d48d4ddc 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
+