diff options
author | Florian Fainelli <florian@openwrt.org> | 2013-02-26 16:40:07 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2013-02-26 16:40:07 +0000 |
commit | bfcbabdf159f291f98683d802bff519781cb4fd9 (patch) | |
tree | a8c2afaaa377f51b6df8ee616b27b270282fa139 /package | |
parent | f880c4992dd7f2ff6506e04ccdad984797707f4e (diff) | |
download | upstream-bfcbabdf159f291f98683d802bff519781cb4fd9.tar.gz upstream-bfcbabdf159f291f98683d802bff519781cb4fd9.tar.bz2 upstream-bfcbabdf159f291f98683d802bff519781cb4fd9.zip |
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.patch | 3 |
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 + |