1 diff -urN gdb-5.0.org/gdb/config.in gdb-5.0/gdb/config.in
2 --- gdb-5.0.org/gdb/config.in Fri Apr 14 12:40:00 2000
3 +++ gdb-5.0/gdb/config.in Tue Sep 5 18:21:12 2000
5 /* Define if you have the <ctype.h> header file. */
8 -/* Define if you have the <curses.h> header file. */
10 +/* Define if you have the <ncurses/curses.h> header file. */
11 +#undef HAVE_NCURSES_CURSES_H
13 /* Define if you have the <endian.h> header file. */
15 diff -urN gdb-5.0.org/gdb/configure.in gdb-5.0/gdb/configure.in
16 --- gdb-5.0.org/gdb/configure.in Tue Sep 5 18:19:34 2000
17 +++ gdb-5.0/gdb/configure.in Tue Sep 5 18:20:44 2000
22 -AC_CHECK_HEADERS(ctype.h curses.h endian.h link.h thread_db.h proc_service.h \
23 +AC_CHECK_HEADERS(ctype.h ncurses/curses.h endian.h link.h thread_db.h proc_service.h \
24 memory.h objlist.h ptrace.h sgtty.h stddef.h stdlib.h \
25 string.h sys/procfs.h sys/ptrace.h sys/reg.h stdint.h \
26 term.h termio.h termios.h unistd.h wait.h sys/wait.h \
27 diff -urN gdb-5.0.org/gdb/tui/tui.h gdb-5.0/gdb/tui/tui.h
28 --- gdb-5.0.org/gdb/tui/tui.h Tue Sep 5 18:19:34 2000
29 +++ gdb-5.0/gdb/tui/tui.h Tue Sep 5 18:20:16 2000
35 +#include <ncurses/curses.h>
37 #ifdef ANSI_PROTOTYPES
39 diff -urN gdb-5.0.org/gdb/tui/tuiGeneralWin.c gdb-5.0/gdb/tui/tuiGeneralWin.c
40 --- gdb-5.0.org/gdb/tui/tuiGeneralWin.c Tue Sep 5 18:19:34 2000
41 +++ gdb-5.0/gdb/tui/tuiGeneralWin.c Tue Sep 5 18:20:25 2000
43 ** This module supports general window behavior
47 +#include <ncurses/curses.h>
51 diff -urN gdb-5.0.org/gdb/utils.c gdb-5.0/gdb/utils.c
52 --- gdb-5.0.org/gdb/utils.c Tue Sep 5 18:19:34 2000
53 +++ gdb-5.0/gdb/utils.c Tue Sep 5 18:21:55 2000
55 #include "gdb_string.h"
56 #include "event-top.h"
60 +#ifdef HAVE_NCURSES_CURSES_H
61 +#include <ncurses/curses.h>
65 diff -urN gdb-5.0.org/gdb/tui/tui.c gdb-5.0/gdb/tui/tui.c
66 --- gdb-5.0.org/gdb/tui/tui.c Tue Sep 5 19:51:50 2000
67 +++ gdb-5.0/gdb/tui/tui.c Tue Sep 5 19:52:17 2000
73 +#include <ncurses/curses.h>