diff options
author | Mark Kettenis <kettenis@gnu.org> | 2004-02-28 15:02:35 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2004-02-28 15:02:35 +0000 |
commit | 9671aeef937ebeafc0a44d2224a0cd76f3e9bfee (patch) | |
tree | ed7f56e45f3b9dda4653edfb3ae8b1831d2be2ff /gdb/tui/tui.c | |
parent | 72fd54a9667e569dcbeebe2e6f025255b62ec675 (diff) | |
download | gdb-9671aeef937ebeafc0a44d2224a0cd76f3e9bfee.zip gdb-9671aeef937ebeafc0a44d2224a0cd76f3e9bfee.tar.gz gdb-9671aeef937ebeafc0a44d2224a0cd76f3e9bfee.tar.bz2 |
* tui/tui.c: Include <readline/readline.h> instead of
"readline/readline.h". Include it after <term.h> and
"gdb_curses.h".
Diffstat (limited to 'gdb/tui/tui.c')
-rw-r--r-- | gdb/tui/tui.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gdb/tui/tui.c b/gdb/tui/tui.c index 2c12621..d2186a2 100644 --- a/gdb/tui/tui.c +++ b/gdb/tui/tui.c @@ -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; |