1
0
This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
svn-openwrt-archive/package/libs/ncurses/patches/200-fix_missing_include.patch
Florian Fainelli bfcbabdf15 ncurses: fix build with musl libc toolchains
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35811
2013-02-26 16:40:07 +00:00

15 lines
266 B
Diff

--- a/ncurses/curses.priv.h
+++ b/ncurses/curses.priv.h
@@ -54,6 +54,11 @@ extern "C" {
#include <ncurses_cfg.h>
+#if NEED_WCHAR_H
+#include <stdarg.h>
+#include <wchar.h>
+#endif
+
#if USE_RCS_IDS
#define MODULE_ID(id) static const char Ident[] = id;
#else