ncurses: fix build with musl libc toolchains
Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 35811
This commit is contained in:
parent
f880c4992d
commit
bfcbabdf15
1 changed files with 2 additions and 1 deletions
|
@ -1,10 +1,11 @@
|
||||||
--- a/ncurses/curses.priv.h
|
--- a/ncurses/curses.priv.h
|
||||||
+++ b/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>
|
#include <ncurses_cfg.h>
|
||||||
|
|
||||||
+#if NEED_WCHAR_H
|
+#if NEED_WCHAR_H
|
||||||
|
+#include <stdarg.h>
|
||||||
+#include <wchar.h>
|
+#include <wchar.h>
|
||||||
+#endif
|
+#endif
|
||||||
+
|
+
|
||||||
|
|
Loading…
Reference in a new issue