From a7bcf1d2e4e6b4783c3bb64696c70d8b8560b607 Mon Sep 17 00:00:00 2001 From: Hisham Muhammad Date: Thu, 8 Sep 2011 01:45:16 +0000 Subject: Try harder to find the ncurses header, fixes detection in SuSE SLES9. (thanks to Moritz Barsnick) --- RichString.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'RichString.c') diff --git a/RichString.c b/RichString.c index 6d87cd84..aef8c959 100644 --- a/RichString.c +++ b/RichString.c @@ -12,10 +12,14 @@ #include "debug.h" #include -#ifdef HAVE_LIBNCURSESW -#include -#else +#ifdef HAVE_CURSES_H #include +#elif HAVE_NCURSES_H +#include +#elif HAVE_NCURSESW_CURSES_H +#include +#elif HAVE_NCURSES_NCURSES_H +#include #endif #define RICHSTRING_MAXLEN 300 -- cgit v1.2.3