projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ncurses: fix build with musl libc toolchains
[openwrt/openwrt.git]
/
package
/
libs
/
ncurses
/
patches
/
200-fix_missing_include.patch
diff --git
a/package/libs/ncurses/patches/200-fix_missing_include.patch
b/package/libs/ncurses/patches/200-fix_missing_include.patch
index ad563930d2d63b889a1c0b87f40a0e3078fdc0ab..c5d48d4ddc2c8d8ed475080964ac92fd10302daf 100644
(file)
--- 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,1
0
@@ extern "C" {
+@@ -54,6 +54,1
1
@@ extern "C" {
#include <ncurses_cfg.h>
+#if NEED_WCHAR_H
++#include <stdarg.h>
+#include <wchar.h>
+#endif
+