This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH] Really use cursesX.h if available
- From: Mark Kettenis <kettenis at chello dot nl>
- To: gdb-patches at sources dot redhat dot com
- Date: Mon, 9 Aug 2004 21:30:50 +0200 (CEST)
- Subject: [PATCH] Really use cursesX.h if available
Noticed a nasty little M in my tree. Should have committed this right
with the autoconf bits. Committed now.
Index: ChangeLog
from Mark Kettenis <kettenis@gnu.org>
* gdb_curses.h [HAVE_CURSESX_H]: Include <cursesX.h>
Index: gdb_curses.h
===================================================================
RCS file: /cvs/src/src/gdb/gdb_curses.h,v
retrieving revision 1.1
diff -u -p -r1.1 gdb_curses.h
--- gdb_curses.h 10 Feb 2004 20:03:44 -0000 1.1
+++ gdb_curses.h 9 Aug 2004 19:26:55 -0000
@@ -24,6 +24,8 @@
#if defined (HAVE_NCURSES_H)
#include <ncurses.h>
+#elif defined (HAVE_CURSESX_H)
+#include <cursesX.h>
#elif defined (HAVE_CURSES_H)
#include <curses.h>
#endif