aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui/tui.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2000-05-26 04:11:34 +0000
committerAndrew Cagney <cagney@redhat.com>2000-05-26 04:11:34 +0000
commit2894793a7b11779557cd7d50f5eec63acf3c46fd (patch)
treeb72673027253a8929b6c872b38dae0a18dd3e090 /gdb/tui/tui.h
parentd60622826d14374d5b18ca343c4aae6627e58609 (diff)
downloadgdb-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.h4
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>