* tui/tui.c: Include <readline/readline.h> instead of

"readline/readline.h".  Include it after <term.h> and
"gdb_curses.h".
This commit is contained in:
Mark Kettenis 2004-02-28 15:02:35 +00:00
parent 72fd54a966
commit 9671aeef93
2 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2004-02-28 Mark Kettenis <kettenis@gnu.org>
* tui/tui.c: Include <readline/readline.h> instead of
"readline/readline.h". Include it after <term.h> and
"gdb_curses.h".
2004-02-27 Andrew Cagney <cagney@redhat.com>
* hppa-tdep.c (hppa_gdbarch_init): On 32-bit systems always use

View File

@ -34,7 +34,6 @@
#include "tui/tui-win.h"
#include "tui/tui-winsource.h"
#include "tui/tui-windata.h"
#include "readline/readline.h"
#include "target.h"
#include "frame.h"
#include "breakpoint.h"
@ -57,6 +56,11 @@
#include "gdb_curses.h"
/* This redefines CTRL if it is not already defined, so it must come
after terminal state releated include files like <term.h> and
"gdb_ncurses.h". */
#include <readline/readline.h>
/* Tells whether the TUI is active or not. */
int tui_active = 0;
static int tui_finish_init = 1;