Re: [PATCH] kconfig: do not include both curses.h and ncurses.h for nconfig

From: Masahiro Yamada
Date: Mon Mar 26 2018 - 11:24:50 EST


2018-03-15 15:25 GMT+09:00 Masahiro Yamada <yamada.masahiro@xxxxxxxxxxxxx>:
> nconf.h includes <curses.h> and "ncurses.h", but it does not need to
> include both. Generally, it should fall back to curses.h only when
> ncurses.h is not found. But, looks like it has never happened;
> these includes have been here for many years since commit 692d97c380c6
> ("kconfig: new configuration interface (nconfig)"), and nobody has
> complained about hard-coding of ncurses.h . Let's simply drop the
> curses.h inclusion.
>
> I replaced "ncurses.h" with <ncurses.h> since it does not exist in
> the local directory.
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro@xxxxxxxxxxxxx>
> ---
>

Applied to linux-kbuild/kconfig.

--
Best Regards
Masahiro Yamada