forked from Imagelibrary/binutils-gdb
* 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:
@@ -57,12 +57,7 @@
|
||||
|
||||
#include <sys/param.h> /* For MAXPATHLEN */
|
||||
|
||||
#ifdef HAVE_CURSES_H
|
||||
#include <curses.h>
|
||||
#endif
|
||||
#ifdef HAVE_TERM_H
|
||||
#include <term.h>
|
||||
#endif
|
||||
#include "gdb_curses.h"
|
||||
|
||||
#include "readline/readline.h"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user