summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2010-10-23 20:07:54 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2010-10-23 20:07:54 +0200
commit6ce209bd9d5a74ac15d48505c32bf138128105c9 (patch)
tree02aaac7ff944a190f0087f6ff5a47829e8753536 /src
parent3a5c21e893138124fb5f5e1011f76883f8960e3f (diff)
Support cygwin's libncursesw10
Diffstat (limited to 'src')
-rw-r--r--src/intrfn.c2
-rw-r--r--src/intrfn.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/intrfn.c b/src/intrfn.c
index 3cc68d8..47d49fe 100644
--- a/src/intrfn.c
+++ b/src/intrfn.c
@@ -1116,7 +1116,7 @@ int start_ncurses(const char *prog_name, const char *real_prog_name)
{
log_critical("Terminfo file is missing.\n");
#if defined(__CYGWIN__)
- printf("The terminfo file '%s\\c\\cygwin' is missing.\n", terminfo);
+ printf("The terminfo file '%s\\63\\cygwin' is missing.\n", terminfo);
#else
printf("Terminfo file is missing.\n");
#endif
diff --git a/src/intrfn.h b/src/intrfn.h
index 129f7da..a1f98bf 100644
--- a/src/intrfn.h
+++ b/src/intrfn.h
@@ -29,6 +29,8 @@ extern "C" {
#include <ncurses.h>
#elif defined(HAVE_NCURSESW_NCURSES_H)
#include <ncursesw/ncurses.h>
+#elif defined(HAVE_NCURSESW_CURSES_H)
+#include <ncursesw/curses.h>
#elif defined(HAVE_NCURSES_NCURSES_H)
#include <ncurses/ncurses.h>
#elif defined(HAVE_NCURSES_CURSES_H)