id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	branch_state	votes
4462	Build failed if ncurses used without --with-ncurses-includes= configure parameter	karlson2k	andrew_b	"If ncurses location is not specified by configure parameters like '--with-ncurses-includes=/some/dir' then automatic detection at compiler/system default location is used in configure.
With automatic detection the header 'ncurses/term.h' is not checked therefore macro HAVE_NCURSES_TERM_H is not defined.

This leads to inclusion of system <term.h> which is not compatible with ncurses headers.

The simple fix is just addition of ncurses/term.h header detection to configure.

The suggested fix: https://github.com/MidnightCommander/mc/pull/186"	defect	closed	major	4.8.30	compilation	master	fixed					merged	committed-master
