mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 17:18:55 +00:00
* configure.in: Check for ncurses/term.h.
* gdb_curses.h: Include term.h here, prefering ncurses/term.h. * utils.c: Include gdb_curses.h instead of curses.h and term.h. * tui/tui.c: Don't include term.h. * configure, config.in: Rebuilt.
This commit is contained in:
@@ -32,4 +32,10 @@
|
||||
#include <curses.h>
|
||||
#endif
|
||||
|
||||
#if defined (HAVE_NCURSES_TERM_H)
|
||||
#include <ncurses/term.h>
|
||||
#elif defined (HAVE_TERM_H)
|
||||
#include <term.h>
|
||||
#endif
|
||||
|
||||
#endif /* gdb_curses.h */
|
||||
|
||||
Reference in New Issue
Block a user