summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/binutils/gdb/gdb_curses.h
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2004-12-27 13:17:06 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2004-12-27 13:17:06 +0000
commit2ed3fb102e82ad2127a78a905dce5acf55afc729 (patch)
treeb55832f88f0f339bfb56693aead72749739d66df /gnu/usr.bin/binutils/gdb/gdb_curses.h
parentbafd719ae34a32376be8ae2ddd673e95254092b4 (diff)
GDB 6.3 (excluding .info files)
Diffstat (limited to 'gnu/usr.bin/binutils/gdb/gdb_curses.h')
-rw-r--r--gnu/usr.bin/binutils/gdb/gdb_curses.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/gnu/usr.bin/binutils/gdb/gdb_curses.h b/gnu/usr.bin/binutils/gdb/gdb_curses.h
index 074313e068d..4371d4f89d9 100644
--- a/gnu/usr.bin/binutils/gdb/gdb_curses.h
+++ b/gnu/usr.bin/binutils/gdb/gdb_curses.h
@@ -22,10 +22,14 @@
#ifndef GDB_CURSES_H
#define GDB_CURSES_H 1
-#if defined (HAVE_NCURSES_H)
+#if defined (HAVE_NCURSES_NCURSES_H)
+#include <ncurses/ncurses.h>
+#elif defined (HAVE_NCURSES_H)
#include <ncurses.h>
+#elif defined (HAVE_CURSESX_H)
+#include <cursesX.h>
#elif defined (HAVE_CURSES_H)
#include <curses.h>
#endif
-#endif
+#endif /* gdb_curses.h */