First git repo commit for the libreCMC project
[librecmc/librecmc.git] / package / libs / ncurses / patches / 200-fix_missing_include.patch
1 --- a/ncurses/curses.priv.h
2 +++ b/ncurses/curses.priv.h
3 @@ -55,6 +55,11 @@ extern "C" {
4  
5  #include <ncurses_cfg.h>
6  
7 +#if NEED_WCHAR_H
8 +#include <stdarg.h>
9 +#include <wchar.h>
10 +#endif
11 +
12  #if USE_RCS_IDS
13  #define MODULE_ID(id) static const char Ident[] = id;
14  #else