aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui/tui.h
diff options
context:
space:
mode:
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>