diff -wbBur gtypist-2.9/configure gtypist-2.9.my/configure --- gtypist-2.9/configure 2011-11-01 01:31:47.000000000 +0400 +++ gtypist-2.9.my/configure 2011-11-02 12:31:42.000000000 +0400 @@ -4478,8 +4478,8 @@ #AC_CHECK_HEADER(curses.h, HAVE_CURSES_H=1) -ac_fn_c_check_header_mongrel "$LINENO" "ncursesw/ncurses.h" "ac_cv_header_ncursesw_ncurses_h" "$ac_includes_default" -if test "x$ac_cv_header_ncursesw_ncurses_h" = xyes; then : +ac_fn_c_check_header_mongrel "$LINENO" "ncurses.h" "ac_cv_header_ncurses_h" "$ac_includes_default" +if test "x$ac_cv_header_ncurses_h" = xyes; then : HAVE_NCURSESW_H=1 fi diff -wbBur gtypist-2.9/configure.ac gtypist-2.9.my/configure.ac --- gtypist-2.9/configure.ac 2011-10-30 19:26:40.000000000 +0400 +++ gtypist-2.9.my/configure.ac 2011-11-02 12:30:18.000000000 +0400 @@ -40,7 +40,7 @@ AC_CHECK_HEADERS([unistd.h alloca.h argz.h errno.h fcntl.h langinfo.h libintl.h limits.h locale.h malloc.h stddef.h stdio_ext.h stdlib.h string.h strings.h sys/param.h unistd.h]) #AC_CHECK_HEADER(curses.h, HAVE_CURSES_H=1) -AC_CHECK_HEADER(ncursesw/ncurses.h, HAVE_NCURSESW_H=1) +AC_CHECK_HEADER(ncurses.h, HAVE_NCURSESW_H=1) # We prefer ncurses to curses if both are found. dnl if test -n "$HAVE_NCURSES_H" -a -n "$HAVE_LIBNCURSES"; then diff -wbBur gtypist-2.9/src/cursmenu.c gtypist-2.9.my/src/cursmenu.c --- gtypist-2.9/src/cursmenu.c 2011-10-31 01:35:20.000000000 +0400 +++ gtypist-2.9.my/src/cursmenu.c 2011-11-02 12:30:27.000000000 +0400 @@ -24,7 +24,7 @@ #ifdef HAVE_PDCURSES #include #else -#include +#include #endif #include "error.h" diff -wbBur gtypist-2.9/src/error.c gtypist-2.9.my/src/error.c --- gtypist-2.9/src/error.c 2011-09-26 15:35:03.000000000 +0400 +++ gtypist-2.9.my/src/error.c 2011-11-02 12:30:30.000000000 +0400 @@ -25,7 +25,7 @@ #ifdef HAVE_PDCURSES #include #else -#include +#include #endif #include diff -wbBur gtypist-2.9/src/gtypist.c gtypist-2.9.my/src/gtypist.c --- gtypist-2.9/src/gtypist.c 2011-10-31 03:24:25.000000000 +0400 +++ gtypist-2.9.my/src/gtypist.c 2011-11-02 12:30:24.000000000 +0400 @@ -31,7 +31,7 @@ #ifdef HAVE_PDCURSES #include #else -#include +#include #endif #include diff -wbBur gtypist-2.9/src/script.c gtypist-2.9.my/src/script.c --- gtypist-2.9/src/script.c 2011-10-26 12:51:57.000000000 +0400 +++ gtypist-2.9.my/src/script.c 2011-11-02 12:30:37.000000000 +0400 @@ -24,7 +24,7 @@ #ifdef HAVE_PDCURSES #include #else -#include +#include #endif #include "error.h" diff -wbBur gtypist-2.9/src/utf8.c gtypist-2.9.my/src/utf8.c --- gtypist-2.9/src/utf8.c 2011-10-31 03:11:27.000000000 +0400 +++ gtypist-2.9.my/src/utf8.c 2011-11-02 12:30:43.000000000 +0400 @@ -23,7 +23,7 @@ #ifdef HAVE_PDCURSES #include #else -#include +#include #endif #include