diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2011-09-08 01:45:16 +0000 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2011-09-08 01:45:16 +0000 |
commit | a7bcf1d2e4e6b4783c3bb64696c70d8b8560b607 (patch) | |
tree | d54c7ea65ff88e51020e2ab92d234fce2c7a42af /RichString.c | |
parent | 25a2aada3c0faee45f57d2ce31c0987d030ce693 (diff) |
Try harder to find the ncurses header, fixes detection in SuSE SLES9.
(thanks to Moritz Barsnick)
Diffstat (limited to 'RichString.c')
-rw-r--r-- | RichString.c | 10 |
1 files changed, 7 insertions, 3 deletions
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 <assert.h> -#ifdef HAVE_LIBNCURSESW -#include <ncursesw/curses.h> -#else +#ifdef HAVE_CURSES_H #include <curses.h> +#elif HAVE_NCURSES_H +#include <ncurses.h> +#elif HAVE_NCURSESW_CURSES_H +#include <ncursesw/curses.h> +#elif HAVE_NCURSES_NCURSES_H +#include <ncurses/ncurses.h> #endif #define RICHSTRING_MAXLEN 300 |