diff options
author | Andrew Cagney <cagney@redhat.com> | 2000-05-26 04:11:34 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2000-05-26 04:11:34 +0000 |
commit | 2894793a7b11779557cd7d50f5eec63acf3c46fd (patch) | |
tree | b72673027253a8929b6c872b38dae0a18dd3e090 /gdb/tui/tui.h | |
parent | d60622826d14374d5b18ca343c4aae6627e58609 (diff) | |
download | gdb-2894793a7b11779557cd7d50f5eec63acf3c46fd.zip gdb-2894793a7b11779557cd7d50f5eec63acf3c46fd.tar.gz gdb-2894793a7b11779557cd7d50f5eec63acf3c46fd.tar.bz2 |
Configure TUI to use <ncurses.h> when available.
Diffstat (limited to 'gdb/tui/tui.h')
-rw-r--r-- | gdb/tui/tui.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/tui/tui.h b/gdb/tui/tui.h index b80b0e9..179f231 100644 --- a/gdb/tui/tui.h +++ b/gdb/tui/tui.h @@ -2,7 +2,11 @@ #ifndef TUI_H #define TUI_H +#if defined (HAVE_NCURSES_H) +#include <ncurses.h> +#elif defined (HAVE_CURSES_H) #include <curses.h> +#endif #ifdef ANSI_PROTOTYPES #include <stdarg.h> |