ncurses: fix build with musl libc toolchains
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 26 Feb 2013 16:40:07 +0000 (16:40 +0000)
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 26 Feb 2013 16:40:07 +0000 (16:40 +0000)
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35811 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/libs/ncurses/patches/200-fix_missing_include.patch

index ad56393..c5d48d4 100644 (file)
@@ -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
 +